Skip to content

Commit b7cbab4

Browse files
committed
remove from ClassLike, add to TryCatch as well
1 parent 013f2d2 commit b7cbab4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/PhpParser/Node/Stmt/ClassLike.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use PhpParser\Node;
66
use PhpParser\Node\PropertyItem;
77

8-
abstract class ClassLike extends Node\Stmt implements Node\ContainsStmts {
8+
abstract class ClassLike extends Node\Stmt {
99
/** @var Node\Identifier|null Name */
1010
public ?Node\Identifier $name;
1111
/** @var Node\Stmt[] Statements */

lib/PhpParser/Node/Stmt/TryCatch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use PhpParser\Node;
66

7-
class TryCatch extends Node\Stmt {
7+
class TryCatch extends Node\Stmt implements Node\ContainsStmts {
88
/** @var Node\Stmt[] Statements */
99
public array $stmts;
1010
/** @var Catch_[] Catches */

0 commit comments

Comments
 (0)