← All changes
|
includes/Dependencies/PhpParser/Node/Stmt/Namespace_.php
+1
-1
4.5.3
→
4.9.3
View file →
| @@ -21,9 +21,9 @@ | ||
| 21 | 21 | * @param null|Node\Name $name Name |
| 22 | 22 | * @param null|Node[] $stmts Statements |
| 23 | 23 | * @param array $attributes Additional attributes |
| 24 | 24 | */ |
| 25 | - public function __construct(Node\Name $name = null, $stmts = array(), array $attributes = array()) { | |
| 25 | + public function __construct(?Node\Name $name = null, $stmts = array(), array $attributes = array()) { | |
| 26 | 26 | parent::__construct($attributes); |
| 27 | 27 | $this->name = $name; |
| 28 | 28 | $this->stmts = $stmts; |
| 29 | 29 | } |