← All changes
|
includes/Dependencies/PhpParser/Node/Stmt/Declare_.php
+1
-1
3.4.2
→
4.9.3
View file →
| @@ -17,9 +17,9 @@ | ||
| 17 | 17 | * @param DeclareDeclare[] $declares List of declares |
| 18 | 18 | * @param Node[]|null $stmts Statements |
| 19 | 19 | * @param array $attributes Additional attributes |
| 20 | 20 | */ |
| 21 | - public function __construct(array $declares, array $stmts = null, array $attributes = array()) { | |
| 21 | + public function __construct(array $declares, ?array $stmts = null, array $attributes = array()) { | |
| 22 | 22 | parent::__construct($attributes); |
| 23 | 23 | $this->declares = $declares; |
| 24 | 24 | $this->stmts = $stmts; |
| 25 | 25 | } |