← All changes
|
includes/Dependencies/PhpParser/Node/Expr/Yield_.php
+1
-1
3.4.2
→
4.9.3
View file →
| @@ -17,9 +17,9 @@ | ||
| 17 | 17 | * @param null|Expr $value Value expression |
| 18 | 18 | * @param null|Expr $key Key expression |
| 19 | 19 | * @param array $attributes Additional attributes |
| 20 | 20 | */ |
| 21 | - public function __construct(Expr $value = null, Expr $key = null, array $attributes = array()) { | |
| 21 | + public function __construct(?Expr $value = null, ?Expr $key = null, array $attributes = array()) { | |
| 22 | 22 | parent::__construct($attributes); |
| 23 | 23 | $this->key = $key; |
| 24 | 24 | $this->value = $value; |
| 25 | 25 | } |