← All changes
|
vendor/nikic/php-parser/lib/PhpParser/Node/Expr/ArrayDimFetch.php
+1
-1
3.3
→
3.5.9
View file →
| @@ -17,9 +17,9 @@ | ||
| 17 | 17 | * @param Expr $var Variable |
| 18 | 18 | * @param null|Expr $dim Array index / dim |
| 19 | 19 | * @param array $attributes Additional attributes |
| 20 | 20 | */ |
| 21 | - public function __construct(Expr $var, Expr $dim = null, array $attributes = []) { | |
| 21 | + public function __construct(Expr $var, ?Expr $dim = null, array $attributes = []) { | |
| 22 | 22 | $this->attributes = $attributes; |
| 23 | 23 | $this->var = $var; |
| 24 | 24 | $this->dim = $dim; |
| 25 | 25 | } |