Skip to content

Commit c188ae7

Browse files
authored
1 parent d3dd4c0 commit c188ae7

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed
Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,11 @@
11
--- /dev/null
22
+++ ../lib/PhpParser/Node/Stmt/Finally_.php
3-
@@ -3,8 +3,9 @@
4-
namespace PhpParser\Node\Stmt;
3+
@@ -4,7 +4,7 @@
54

65
use PhpParser\Node;
7-
+use Rector\Contract\PhpParser\Node\StmtsAwareInterface;
86

97
-class Finally_ extends Node\Stmt
10-
+class Finally_ extends Node\Stmt implements StmtsAwareInterface
8+
+class Finally_ extends Node\Stmt implements \Rector\Contract\PhpParser\Node\StmtsAwareInterface
119
{
1210
/** @var Node\Stmt[] Statements */
1311
public $stmts;
14-
@@ -23,7 +24,7 @@
15-
public function getSubNodeNames() : array {
16-
return ['stmts'];
17-
}
18-
-
19-
+
20-
public function getType() : string {
21-
return 'Stmt_Finally';
22-
}

0 commit comments

Comments
 (0)