We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f845568 commit 54fc023Copy full SHA for 54fc023
lib/PhpParser/Node/Expr/Array_.php
@@ -10,13 +10,13 @@ class Array_ extends Expr
10
const KIND_LONG = 1; // array() syntax
11
const KIND_SHORT = 2; // [] syntax
12
13
- /** @var ArrayItem[] Items */
+ /** @var (ArrayItem|null)[] Items */
14
public $items;
15
16
/**
17
* Constructs an array node.
18
*
19
- * @param ArrayItem[] $items Items of the array
+ * @param (ArrayItem|null)[] $items Items of the array
20
* @param array $attributes Additional attributes
21
*/
22
public function __construct(array $items = [], array $attributes = []) {
0 commit comments