updated-packages
This commit is contained in:
@@ -18,11 +18,11 @@ class TryCatch extends Node\Stmt
|
||||
*
|
||||
* @param Node\Stmt[] $stmts Statements
|
||||
* @param Catch_[] $catches Catches
|
||||
* @param null|Finally_ $finally Optionaly finally node
|
||||
* @param null|Finally_ $finally Optional finally node
|
||||
* @param array $attributes Additional attributes
|
||||
*/
|
||||
public function __construct(array $stmts, array $catches, Finally_ $finally = null, array $attributes = []) {
|
||||
parent::__construct($attributes);
|
||||
$this->attributes = $attributes;
|
||||
$this->stmts = $stmts;
|
||||
$this->catches = $catches;
|
||||
$this->finally = $finally;
|
||||
@@ -31,7 +31,7 @@ class TryCatch extends Node\Stmt
|
||||
public function getSubNodeNames() : array {
|
||||
return ['stmts', 'catches', 'finally'];
|
||||
}
|
||||
|
||||
|
||||
public function getType() : string {
|
||||
return 'Stmt_TryCatch';
|
||||
}
|
||||
|
Reference in New Issue
Block a user