Issue #2926122 by Adameue, zaporylie, BartoszUrbaniak, borisson_, idebr: Use lower-case, PEAR style, primitive data types

8.7.x
Alex Pott 2018-09-14 14:07:04 +02:00
parent dc4adc5723
commit dd7fd60f19
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
9 changed files with 15 additions and 15 deletions

View File

@ -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',

View File

@ -31,7 +31,7 @@ class DisplayApiTest extends FieldKernelTestBase {
/**
* The field cardinality to use in this test.
*
* @var number
* @var int
*/
protected $cardinality;

View File

@ -36,7 +36,7 @@ class PluralFormula implements PluralFormulaInterface {
* ],
* ]
* @endcode
* @var []
* @var array
*/
protected $formulae;

View File

@ -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 = [];

View File

@ -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 = [];

View File

@ -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;

View File

@ -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,

View File

@ -114,7 +114,7 @@ class ViewExecutable {
/**
* Attachments to place before the view.
*
* @var array()
* @var array
*/
public $attachment_before = [];

View File

@ -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;