← All changes
|
includes/Dependencies/PhpParser/Node/Stmt/TryCatch.php
+1
-1
3.4.1
→
4.9.3
View file →
| @@ -20,9 +20,9 @@ | ||
| 20 | 20 | * @param Catch_[] $catches Catches |
| 21 | 21 | * @param null|Finally_ $finally Optionaly finally node |
| 22 | 22 | * @param array|null $attributes Additional attributes |
| 23 | 23 | */ |
| 24 | - public function __construct(array $stmts, array $catches, Finally_ $finally = null, array $attributes = array()) { | |
| 24 | + public function __construct(array $stmts, array $catches, ?Finally_ $finally = null, array $attributes = array()) { | |
| 25 | 25 | parent::__construct($attributes); |
| 26 | 26 | $this->stmts = $stmts; |
| 27 | 27 | $this->catches = $catches; |
| 28 | 28 | $this->finally = $finally; |