Unverified Commit dd7fd60f authored by alexpott's avatar alexpott
Browse files

Issue #2926122 by Adameue, zaporylie, BartoszUrbaniak, borisson_, idebr: Use...

Issue #2926122 by Adameue, zaporylie, BartoszUrbaniak, borisson_, idebr: Use lower-case, PEAR style, primitive data types
parent dc4adc57
...@@ -20,7 +20,7 @@ class StatementPrefetch implements \Iterator, StatementInterface { ...@@ -20,7 +20,7 @@ class StatementPrefetch implements \Iterator, StatementInterface {
/** /**
* Driver-specific options. Can be used by child classes. * Driver-specific options. Can be used by child classes.
* *
* @var Array * @var array
*/ */
protected $driverOptions; protected $driverOptions;
...@@ -41,14 +41,14 @@ class StatementPrefetch implements \Iterator, StatementInterface { ...@@ -41,14 +41,14 @@ class StatementPrefetch implements \Iterator, StatementInterface {
/** /**
* Main data store. * Main data store.
* *
* @var Array * @var array
*/ */
protected $data = []; protected $data = [];
/** /**
* The current row, retrieved in \PDO::FETCH_ASSOC format. * The current row, retrieved in \PDO::FETCH_ASSOC format.
* *
* @var Array * @var array
*/ */
protected $currentRow = NULL; protected $currentRow = NULL;
...@@ -62,7 +62,7 @@ class StatementPrefetch implements \Iterator, StatementInterface { ...@@ -62,7 +62,7 @@ class StatementPrefetch implements \Iterator, StatementInterface {
/** /**
* The list of column names in this result set. * The list of column names in this result set.
* *
* @var Array * @var array
*/ */
protected $columnNames = NULL; protected $columnNames = NULL;
...@@ -91,7 +91,7 @@ class StatementPrefetch implements \Iterator, StatementInterface { ...@@ -91,7 +91,7 @@ class StatementPrefetch implements \Iterator, StatementInterface {
/** /**
* Holds supplementary current fetch options (which will be used by the next fetch). * Holds supplementary current fetch options (which will be used by the next fetch).
* *
* @var Array * @var array
*/ */
protected $fetchOptions = [ protected $fetchOptions = [
'class' => 'stdClass', 'class' => 'stdClass',
...@@ -110,7 +110,7 @@ class StatementPrefetch implements \Iterator, StatementInterface { ...@@ -110,7 +110,7 @@ class StatementPrefetch implements \Iterator, StatementInterface {
/** /**
* Holds supplementary default fetch options. * Holds supplementary default fetch options.
* *
* @var Array * @var array
*/ */
protected $defaultFetchOptions = [ protected $defaultFetchOptions = [
'class' => 'stdClass', 'class' => 'stdClass',
......
...@@ -31,7 +31,7 @@ class DisplayApiTest extends FieldKernelTestBase { ...@@ -31,7 +31,7 @@ class DisplayApiTest extends FieldKernelTestBase {
/** /**
* The field cardinality to use in this test. * The field cardinality to use in this test.
* *
* @var number * @var int
*/ */
protected $cardinality; protected $cardinality;
......
...@@ -36,7 +36,7 @@ class PluralFormula implements PluralFormulaInterface { ...@@ -36,7 +36,7 @@ class PluralFormula implements PluralFormulaInterface {
* ], * ],
* ] * ]
* @endcode * @endcode
* @var [] * @var array
*/ */
protected $formulae; protected $formulae;
......
...@@ -51,7 +51,7 @@ abstract class TestBase { ...@@ -51,7 +51,7 @@ abstract class TestBase {
/** /**
* Current results of this test case. * Current results of this test case.
* *
* @var Array * @var array
*/ */
public $results = [ public $results = [
'#pass' => 0, '#pass' => 0,
...@@ -63,7 +63,7 @@ abstract class TestBase { ...@@ -63,7 +63,7 @@ abstract class TestBase {
/** /**
* Assertions thrown in that test case. * Assertions thrown in that test case.
* *
* @var Array * @var array
*/ */
protected $assertions = []; protected $assertions = [];
......
...@@ -24,7 +24,7 @@ class SimpleTestErrorCollectorTest extends WebTestBase { ...@@ -24,7 +24,7 @@ class SimpleTestErrorCollectorTest extends WebTestBase {
* Errors are intercepted by the overridden implementation * Errors are intercepted by the overridden implementation
* of Drupal\simpletest\WebTestBase::error() below. * of Drupal\simpletest\WebTestBase::error() below.
* *
* @var Array * @var array
*/ */
protected $collectedErrors = []; protected $collectedErrors = [];
......
...@@ -106,7 +106,7 @@ abstract class FieldPluginBase extends HandlerBase implements FieldHandlerInterf ...@@ -106,7 +106,7 @@ abstract class FieldPluginBase extends HandlerBase implements FieldHandlerInterf
/** /**
* Keeps track of the last render index. * Keeps track of the last render index.
* *
* @var int|NULL * @var int|null
*/ */
protected $lastRenderIndex; protected $lastRenderIndex;
......
...@@ -103,7 +103,7 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface { ...@@ -103,7 +103,7 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface {
* By default, filters are not exposed and added to the first non-reserved * By default, filters are not exposed and added to the first non-reserved
* filter group. * filter group.
* *
* @var array() * @var array
*/ */
protected $filter_defaults = [ protected $filter_defaults = [
'id' => NULL, 'id' => NULL,
......
...@@ -114,7 +114,7 @@ class ViewExecutable { ...@@ -114,7 +114,7 @@ class ViewExecutable {
/** /**
* Attachments to place before the view. * Attachments to place before the view.
* *
* @var array() * @var array
*/ */
public $attachment_before = []; public $attachment_before = [];
......
...@@ -51,7 +51,7 @@ class ViewUI implements ViewEntityInterface { ...@@ -51,7 +51,7 @@ class ViewUI implements ViewEntityInterface {
* \Drupal\Core\TempStore\SharedTempStore::getMetadata(). Which can be a stdClass or * \Drupal\Core\TempStore\SharedTempStore::getMetadata(). Which can be a stdClass or
* NULL. * NULL.
* *
* @var stdClass * @var object
*/ */
public $lock; public $lock;
......
Markdown is supported
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