Commit 752fd5a7 authored by xjm's avatar xjm
Browse files

Issue #2924780 by zaporylie: Missing @var annotation for scalars that provide default values

parent 5d2b7fba
......@@ -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 = '';
......
......@@ -19,6 +19,8 @@ class Schema extends DatabaseSchema {
/**
* Override DatabaseSchema::$defaultSchema
*
* @var string
*/
protected $defaultSchema = 'main';
......
......@@ -48,6 +48,8 @@ abstract class Query implements PlaceholderInterface {
/**
* The placeholder counter.
*
* @var int
*/
protected $nextPlaceholder = 0;
......
......@@ -113,6 +113,8 @@ class Select extends Query implements SelectInterface {
/**
* The FOR UPDATE status
*
* @var bool
*/
protected $forUpdate = FALSE;
......
......@@ -30,6 +30,8 @@ class SelectExtender implements SelectInterface {
/**
* The placeholder counter.
*
* @var int
*/
protected $placeholder = 0;
......
......@@ -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';
......
......@@ -33,6 +33,8 @@ class EntityType extends Plugin {
/**
* The group machine name.
*
* @var string
*/
public $group = 'default';
......
......@@ -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';
......
......@@ -16,6 +16,8 @@ abstract class BlockContentTestBase extends WebTestBase {
/**
* Profile to use.
*
* @var string
*/
protected $profile = 'testing';
......
......@@ -13,6 +13,8 @@ abstract class BlockContentTestBase extends BrowserTestBase {
/**
* Profile to use.
*
* @var string
*/
protected $profile = 'testing';
......
......@@ -73,6 +73,8 @@ class Comment extends ContentEntityBase implements CommentInterface {
/**
* The thread for which a lock was acquired.
*
* @var string
*/
protected $threadLock = '';
......
......@@ -21,6 +21,8 @@ class Comment extends WizardPluginBase {
/**
* Set the created column.
*
* @var string
*/
protected $createdColumn = 'created';
......
......@@ -13,6 +13,8 @@ abstract class ModerationStateTestBase extends BrowserTestBase {
/**
* Profile to use.
*
* @var string
*/
protected $profile = 'testing';
......
......@@ -25,6 +25,8 @@ class FilterDateTimeTest extends DateTimeHandlerTestBase {
/**
* Use a non-UTC timezone.
*
* @var string
*/
protected static $timezone = 'America/Vancouver';
......
......@@ -18,6 +18,8 @@ class Watchdog extends WizardPluginBase {
/**
* Set the created column.
*
* @var string
*/
protected $createdColumn = 'timestamp';
......
......@@ -17,6 +17,8 @@ class File extends WizardPluginBase {
/**
* Set the created column.
*
* @var string
*/
protected $createdColumn = 'created';
......
......@@ -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';
......
......@@ -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';
......
......@@ -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';
......
......@@ -22,6 +22,8 @@ class Node extends WizardPluginBase {
/**
* Set the created column.
*
* @var string
*/
protected $createdColumn = 'node_field_data-created';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment