← All changes
|
includes/Dependencies/PhpParser/Node/Stmt/StaticVar.php
+1
-1
3.3.4
→
4.9.3
View file →
| @@ -17,9 +17,9 @@ | ||
| 17 | 17 | * @param string $name Name |
| 18 | 18 | * @param null|Node\Expr $default Default value |
| 19 | 19 | * @param array $attributes Additional attributes |
| 20 | 20 | */ |
| 21 | - public function __construct($name, Node\Expr $default = null, array $attributes = array()) { | |
| 21 | + public function __construct($name, ?Node\Expr $default = null, array $attributes = array()) { | |
| 22 | 22 | parent::__construct($attributes); |
| 23 | 23 | $this->name = $name; |
| 24 | 24 | $this->default = $default; |
| 25 | 25 | } |