Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
752fd5a7
Commit
752fd5a7
authored
Nov 22, 2017
by
xjm
Browse files
Issue
#2924780
by zaporylie: Missing @var annotation for scalars that provide default values
parent
5d2b7fba
Changes
34
Hide whitespace changes
Inline
Side-by-side
core/lib/Drupal/Component/Datetime/DateTimePlus.php
View file @
752fd5a7
...
...
@@ -66,31 +66,43 @@ class DateTimePlus {
/**
* The value of the time value passed to the constructor.
*
* @var string
*/
protected
$inputTimeRaw
=
''
;
/**
* The prepared time, without timezone, for this date.
*
* @var string
*/
protected
$inputTimeAdjusted
=
''
;
/**
* The value of the timezone passed to the constructor.
*
* @var string
*/
protected
$inputTimeZoneRaw
=
''
;
/**
* The prepared timezone object used to construct this date.
*
* @var string
*/
protected
$inputTimeZoneAdjusted
=
''
;
/**
* The value of the format passed to the constructor.
*
* @var string
*/
protected
$inputFormatRaw
=
''
;
/**
* The prepared format, if provided.
*
* @var string
*/
protected
$inputFormatAdjusted
=
''
;
...
...
core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php
View file @
752fd5a7
...
...
@@ -19,6 +19,8 @@ class Schema extends DatabaseSchema {
/**
* Override DatabaseSchema::$defaultSchema
*
* @var string
*/
protected
$defaultSchema
=
'main'
;
...
...
core/lib/Drupal/Core/Database/Query/Query.php
View file @
752fd5a7
...
...
@@ -48,6 +48,8 @@ abstract class Query implements PlaceholderInterface {
/**
* The placeholder counter.
*
* @var int
*/
protected
$nextPlaceholder
=
0
;
...
...
core/lib/Drupal/Core/Database/Query/Select.php
View file @
752fd5a7
...
...
@@ -113,6 +113,8 @@ class Select extends Query implements SelectInterface {
/**
* The FOR UPDATE status
*
* @var bool
*/
protected
$forUpdate
=
FALSE
;
...
...
core/lib/Drupal/Core/Database/Query/SelectExtender.php
View file @
752fd5a7
...
...
@@ -30,6 +30,8 @@ class SelectExtender implements SelectInterface {
/**
* The placeholder counter.
*
* @var int
*/
protected
$placeholder
=
0
;
...
...
core/lib/Drupal/Core/Database/Schema.php
View file @
752fd5a7
...
...
@@ -19,6 +19,8 @@ abstract class Schema implements PlaceholderInterface {
/**
* The placeholder counter.
*
* @var int
*/
protected
$placeholder
=
0
;
...
...
@@ -30,6 +32,8 @@ abstract class Schema implements PlaceholderInterface {
* method.
*
* @see DatabaseSchema::getPrefixInfo()
*
* @var string
*/
protected
$defaultSchema
=
'public'
;
...
...
core/lib/Drupal/Core/Entity/Annotation/EntityType.php
View file @
752fd5a7
...
...
@@ -33,6 +33,8 @@ class EntityType extends Plugin {
/**
* The group machine name.
*
* @var string
*/
public
$group
=
'default'
;
...
...
core/lib/Drupal/Core/Password/PhpassHashedPassword.php
View file @
752fd5a7
...
...
@@ -28,6 +28,8 @@ class PhpassHashedPassword implements PasswordInterface {
/**
* Returns a string for mapping an int to the corresponding base 64 character.
*
* @var string
*/
public
static
$ITOA64
=
'./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'
;
...
...
core/modules/block_content/src/Tests/BlockContentTestBase.php
View file @
752fd5a7
...
...
@@ -16,6 +16,8 @@ abstract class BlockContentTestBase extends WebTestBase {
/**
* Profile to use.
*
* @var string
*/
protected
$profile
=
'testing'
;
...
...
core/modules/block_content/tests/src/Functional/BlockContentTestBase.php
View file @
752fd5a7
...
...
@@ -13,6 +13,8 @@ abstract class BlockContentTestBase extends BrowserTestBase {
/**
* Profile to use.
*
* @var string
*/
protected
$profile
=
'testing'
;
...
...
core/modules/comment/src/Entity/Comment.php
View file @
752fd5a7
...
...
@@ -73,6 +73,8 @@ class Comment extends ContentEntityBase implements CommentInterface {
/**
* The thread for which a lock was acquired.
*
* @var string
*/
protected
$threadLock
=
''
;
...
...
core/modules/comment/src/Plugin/views/wizard/Comment.php
View file @
752fd5a7
...
...
@@ -21,6 +21,8 @@ class Comment extends WizardPluginBase {
/**
* Set the created column.
*
* @var string
*/
protected
$createdColumn
=
'created'
;
...
...
core/modules/content_moderation/tests/src/Functional/ModerationStateTestBase.php
View file @
752fd5a7
...
...
@@ -13,6 +13,8 @@ abstract class ModerationStateTestBase extends BrowserTestBase {
/**
* Profile to use.
*
* @var string
*/
protected
$profile
=
'testing'
;
...
...
core/modules/datetime/tests/src/Kernel/Views/FilterDateTimeTest.php
View file @
752fd5a7
...
...
@@ -25,6 +25,8 @@ class FilterDateTimeTest extends DateTimeHandlerTestBase {
/**
* Use a non-UTC timezone.
*
* @var string
*/
protected
static
$timezone
=
'America/Vancouver'
;
...
...
core/modules/dblog/src/Plugin/views/wizard/Watchdog.php
View file @
752fd5a7
...
...
@@ -18,6 +18,8 @@ class Watchdog extends WizardPluginBase {
/**
* Set the created column.
*
* @var string
*/
protected
$createdColumn
=
'timestamp'
;
...
...
core/modules/file/src/Plugin/views/wizard/File.php
View file @
752fd5a7
...
...
@@ -17,6 +17,8 @@ class File extends WizardPluginBase {
/**
* Set the created column.
*
* @var string
*/
protected
$createdColumn
=
'created'
;
...
...
core/modules/help/tests/src/Functional/HelpTest.php
View file @
752fd5a7
...
...
@@ -24,6 +24,8 @@ class HelpTest extends BrowserTestBase {
/**
* Use the Standard profile to test help implementations of many core modules.
*
* @var string
*/
protected
$profile
=
'standard'
;
...
...
core/modules/migrate_drupal_ui/src/Tests/MigrateUpgradeTestBase.php
View file @
752fd5a7
...
...
@@ -20,6 +20,8 @@ abstract class MigrateUpgradeTestBase extends WebTestBase {
/**
* Use the Standard profile to test help implementations of many core modules.
*
* @var string
*/
protected
$profile
=
'standard'
;
...
...
core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php
View file @
752fd5a7
...
...
@@ -15,6 +15,8 @@ abstract class MigrateUpgradeTestBase extends BrowserTestBase {
/**
* Use the Standard profile to test help implementations of many core modules.
*
* @var string
*/
protected
$profile
=
'standard'
;
...
...
core/modules/node/src/Plugin/views/wizard/Node.php
View file @
752fd5a7
...
...
@@ -22,6 +22,8 @@ class Node extends WizardPluginBase {
/**
* Set the created column.
*
* @var string
*/
protected
$createdColumn
=
'node_field_data-created'
;
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment