diff --git a/core/lib/Drupal/Core/Database/StatementPrefetch.php b/core/lib/Drupal/Core/Database/StatementPrefetch.php index de60d73bf9015a3e8eafea2b8013ccf87affae83..fb7b0b4e0a03d2ae281ee64af5b66c57caf618fb 100644 --- a/core/lib/Drupal/Core/Database/StatementPrefetch.php +++ b/core/lib/Drupal/Core/Database/StatementPrefetch.php @@ -20,7 +20,7 @@ class StatementPrefetch implements \Iterator, StatementInterface { /** * Driver-specific options. Can be used by child classes. * - * @var Array + * @var array */ protected $driverOptions; @@ -41,14 +41,14 @@ class StatementPrefetch implements \Iterator, StatementInterface { /** * Main data store. * - * @var Array + * @var array */ protected $data = []; /** * The current row, retrieved in \PDO::FETCH_ASSOC format. * - * @var Array + * @var array */ protected $currentRow = NULL; @@ -62,7 +62,7 @@ class StatementPrefetch implements \Iterator, StatementInterface { /** * The list of column names in this result set. * - * @var Array + * @var array */ protected $columnNames = NULL; @@ -91,7 +91,7 @@ class StatementPrefetch implements \Iterator, StatementInterface { /** * Holds supplementary current fetch options (which will be used by the next fetch). * - * @var Array + * @var array */ protected $fetchOptions = [ 'class' => 'stdClass', @@ -110,7 +110,7 @@ class StatementPrefetch implements \Iterator, StatementInterface { /** * Holds supplementary default fetch options. * - * @var Array + * @var array */ protected $defaultFetchOptions = [ 'class' => 'stdClass', diff --git a/core/modules/field/tests/src/Kernel/DisplayApiTest.php b/core/modules/field/tests/src/Kernel/DisplayApiTest.php index 3cbf63eb19beea0bd4c88a52a1c3f8fbe6aece8b..0afb23700c5a4ab3c5340ac5b4b3be0661147899 100644 --- a/core/modules/field/tests/src/Kernel/DisplayApiTest.php +++ b/core/modules/field/tests/src/Kernel/DisplayApiTest.php @@ -31,7 +31,7 @@ class DisplayApiTest extends FieldKernelTestBase { /** * The field cardinality to use in this test. * - * @var number + * @var int */ protected $cardinality; diff --git a/core/modules/locale/src/PluralFormula.php b/core/modules/locale/src/PluralFormula.php index 638d60fac863a023212887ab94b7c3f9c69dfa01..8f1920e64930ac22939bc0d2f7501e7f1dd55a7f 100644 --- a/core/modules/locale/src/PluralFormula.php +++ b/core/modules/locale/src/PluralFormula.php @@ -36,7 +36,7 @@ class PluralFormula implements PluralFormulaInterface { * ], * ] * @endcode - * @var [] + * @var array */ protected $formulae; diff --git a/core/modules/simpletest/src/TestBase.php b/core/modules/simpletest/src/TestBase.php index 12a061fd00e3f6772497856a8fb7d12b602edb11..9675bdca09c8ae627c5f5d45ee0bfb8a8d2dc05d 100644 --- a/core/modules/simpletest/src/TestBase.php +++ b/core/modules/simpletest/src/TestBase.php @@ -51,7 +51,7 @@ abstract class TestBase { /** * Current results of this test case. * - * @var Array + * @var array */ public $results = [ '#pass' => 0, @@ -63,7 +63,7 @@ abstract class TestBase { /** * Assertions thrown in that test case. * - * @var Array + * @var array */ protected $assertions = []; diff --git a/core/modules/simpletest/src/Tests/SimpleTestErrorCollectorTest.php b/core/modules/simpletest/src/Tests/SimpleTestErrorCollectorTest.php index b401fc999425319335aedf8c2bdd91791dfef97d..61bd5432b4dbbf9952a206ff9e6d1afe5b4f65e8 100644 --- a/core/modules/simpletest/src/Tests/SimpleTestErrorCollectorTest.php +++ b/core/modules/simpletest/src/Tests/SimpleTestErrorCollectorTest.php @@ -24,7 +24,7 @@ class SimpleTestErrorCollectorTest extends WebTestBase { * Errors are intercepted by the overridden implementation * of Drupal\simpletest\WebTestBase::error() below. * - * @var Array + * @var array */ protected $collectedErrors = []; diff --git a/core/modules/views/src/Plugin/views/field/FieldPluginBase.php b/core/modules/views/src/Plugin/views/field/FieldPluginBase.php index cbae7e0b1d004bfcc0d06cd11122f379ccf0b98f..be10f7f46f5095014fb2bb6ef4dfa9354651a224 100644 --- a/core/modules/views/src/Plugin/views/field/FieldPluginBase.php +++ b/core/modules/views/src/Plugin/views/field/FieldPluginBase.php @@ -106,7 +106,7 @@ abstract class FieldPluginBase extends HandlerBase implements FieldHandlerInterf /** * Keeps track of the last render index. * - * @var int|NULL + * @var int|null */ protected $lastRenderIndex; diff --git a/core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php b/core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php index 890432aa84c32b9ce9822897c7e47b61b934b6fb..badfdbe3d27b02d0a86e9832e62f023cda36528e 100644 --- a/core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php +++ b/core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php @@ -103,7 +103,7 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface { * By default, filters are not exposed and added to the first non-reserved * filter group. * - * @var array() + * @var array */ protected $filter_defaults = [ 'id' => NULL, diff --git a/core/modules/views/src/ViewExecutable.php b/core/modules/views/src/ViewExecutable.php index 82504661f0ae55b971eb7de1967d56f4cfb332c5..27f73e153f4154c051708f4548cbd342e7ecd26c 100644 --- a/core/modules/views/src/ViewExecutable.php +++ b/core/modules/views/src/ViewExecutable.php @@ -114,7 +114,7 @@ class ViewExecutable { /** * Attachments to place before the view. * - * @var array() + * @var array */ public $attachment_before = []; diff --git a/core/modules/views_ui/src/ViewUI.php b/core/modules/views_ui/src/ViewUI.php index 6b49fdc92d3b8cb22f04c9b63228c46331b37459..de323bd277ae9f7d9a4f205ef160d37080013d19 100644 --- a/core/modules/views_ui/src/ViewUI.php +++ b/core/modules/views_ui/src/ViewUI.php @@ -51,7 +51,7 @@ class ViewUI implements ViewEntityInterface { * \Drupal\Core\TempStore\SharedTempStore::getMetadata(). Which can be a stdClass or * NULL. * - * @var stdClass + * @var object */ public $lock;