Issue #2924781 by osman, yogeshmpawar, zaporylie, mfernea: Missing @var annotation for scalars that do not provide default values

merge-requests/55/head
catch 2019-07-18 14:38:54 +01:00
parent a2d8c0a816
commit 35ffd80362
22 changed files with 48 additions and 0 deletions

View File

@ -14,6 +14,8 @@ class ConfigEntityType extends EntityType implements ConfigEntityTypeInterface {
/** /**
* The config prefix set in the configuration entity type annotation. * The config prefix set in the configuration entity type annotation.
* *
* @var string
*
* @see \Drupal\Core\Config\Entity\ConfigEntityTypeInterface::getConfigPrefix() * @see \Drupal\Core\Config\Entity\ConfigEntityTypeInterface::getConfigPrefix()
*/ */
protected $config_prefix; protected $config_prefix;

View File

@ -61,6 +61,8 @@ class Condition implements ConditionInterface, \Countable {
/** /**
* The identifier of the query placeholder this condition has been compiled against. * The identifier of the query placeholder this condition has been compiled against.
*
* @var string
*/ */
protected $queryPlaceholderIdentifier; protected $queryPlaceholderIdentifier;

View File

@ -66,6 +66,8 @@ class Merge extends Query implements ConditionInterface {
/** /**
* The table or subquery to be used for the condition. * The table or subquery to be used for the condition.
*
* @var string
*/ */
protected $conditionTable; protected $conditionTable;

View File

@ -43,6 +43,8 @@ abstract class Query implements PlaceholderInterface {
/** /**
* A unique identifier for this query object. * A unique identifier for this query object.
*
* @var string
*/ */
protected $uniqueIdentifier; protected $uniqueIdentifier;

View File

@ -25,6 +25,8 @@ class SelectExtender implements SelectInterface {
/** /**
* A unique identifier for this query object. * A unique identifier for this query object.
*
* @var string
*/ */
protected $uniqueIdentifier; protected $uniqueIdentifier;

View File

@ -39,6 +39,8 @@ abstract class Schema implements PlaceholderInterface {
/** /**
* A unique identifier for this query object. * A unique identifier for this query object.
*
* @var string
*/ */
protected $uniqueIdentifier; protected $uniqueIdentifier;

View File

@ -42,6 +42,8 @@ class Transaction {
* *
* This is used to label the transaction savepoint. It will be overridden to * This is used to label the transaction savepoint. It will be overridden to
* 'drupal_transaction' if there is no transaction depth. * 'drupal_transaction' if there is no transaction depth.
*
* @var string
*/ */
protected $name; protected $name;

View File

@ -24,6 +24,8 @@ class DrupalDateTime extends DateTimePlus {
/** /**
* Format string translation cache. * Format string translation cache.
*
* @var string
*/ */
protected $formatTranslationCache; protected $formatTranslationCache;

View File

@ -232,6 +232,8 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
/** /**
* The machine name of the entity type group. * The machine name of the entity type group.
*
* @var string
*/ */
protected $group; protected $group;

View File

@ -35,6 +35,8 @@ class PhpassHashedPassword implements PasswordInterface {
* Specifies the number of times the hashing function will be applied when * Specifies the number of times the hashing function will be applied when
* generating new password hashes. The number of times is calculated by * generating new password hashes. The number of times is calculated by
* raising 2 to the power of the given value. * raising 2 to the power of the given value.
*
* @var int
*/ */
protected $countLog2; protected $countLog2;

View File

@ -24,6 +24,8 @@ class ThemeRegistry extends CacheCollector implements DestructableInterface {
* This is only allowed if all modules and the request method is GET. _theme() * This is only allowed if all modules and the request method is GET. _theme()
* should be very rarely called on POST requests and this avoids polluting * should be very rarely called on POST requests and this avoids polluting
* the runtime cache. * the runtime cache.
*
* @var bool
*/ */
protected $persistable; protected $persistable;

View File

@ -18,6 +18,8 @@ class CommentTranslationUITest extends ContentTranslationUITestBase {
/** /**
* The subject of the test comment. * The subject of the test comment.
*
* @var string
*/ */
protected $subject; protected $subject;

View File

@ -20,6 +20,8 @@ class FilterDateTimeTest extends DateTimeHandlerTestBase {
/** /**
* For offset tests, set a date 1 day in the future. * For offset tests, set a date 1 day in the future.
*
* @var int
*/ */
protected static $date; protected static $date;

View File

@ -34,6 +34,8 @@ class FilterDateTest extends DateTimeHandlerTestBase {
/** /**
* For offset tests, set to the current time. * For offset tests, set to the current time.
*
* @var int
*/ */
protected static $date; protected static $date;

View File

@ -35,11 +35,15 @@ class SaveUploadFormTest extends FileManagedTestBase {
/** /**
* A PHP file path for upload security testing. * A PHP file path for upload security testing.
*
* @var string
*/ */
protected $phpfile; protected $phpfile;
/** /**
* The largest file id when the test starts. * The largest file id when the test starts.
*
* @var int
*/ */
protected $maxFidBefore; protected $maxFidBefore;

View File

@ -35,11 +35,15 @@ class SaveUploadTest extends FileManagedTestBase {
/** /**
* A PHP file path for upload security testing. * A PHP file path for upload security testing.
*
* @var string
*/ */
protected $phpfile; protected $phpfile;
/** /**
* The largest file id when the test starts. * The largest file id when the test starts.
*
* @var int
*/ */
protected $maxFidBefore; protected $maxFidBefore;

View File

@ -180,6 +180,8 @@ abstract class WebTestBase extends TestBase {
/** /**
* The number of redirects followed during the handling of a request. * The number of redirects followed during the handling of a request.
*
* @var int
*/ */
protected $redirectCount; protected $redirectCount;

View File

@ -27,6 +27,8 @@ class StateValuesCleanAdvancedTest extends BrowserTestBase {
/** /**
* An image file path for uploading. * An image file path for uploading.
*
* @var string|bool
*/ */
protected $image; protected $image;

View File

@ -24,6 +24,8 @@ class UpdatesWith7xTest extends BrowserTestBase {
/** /**
* The URL for the update page. * The URL for the update page.
*
* @var string
*/ */
private $updateUrl; private $updateUrl;

View File

@ -64,6 +64,8 @@ class View extends ConfigEntityBase implements ViewEntityInterface {
/** /**
* The label of the view. * The label of the view.
*
* @var string
*/ */
protected $label; protected $label;

View File

@ -16,6 +16,8 @@ class DatetimeElementFormTest extends KernelTestBase implements FormInterface {
/** /**
* The variable under test. * The variable under test.
*
* @var string
*/ */
protected $flag; protected $flag;

View File

@ -14,6 +14,8 @@ abstract class MTimeProtectedFileStorageBase extends PhpStorageTestBase {
* The PHP storage class to test. * The PHP storage class to test.
* *
* This should be overridden by extending classes. * This should be overridden by extending classes.
*
* @var string
*/ */
protected $storageClass; protected $storageClass;