Skip to content

Commit f7c17ee

Browse files
committed
fix
1 parent 27871b8 commit f7c17ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rules/DowngradePhp84/Rector/Expression/DowngradeArrayAllRector.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
use PhpParser\Node\Expr\ConstFetch;
1212
use PhpParser\Node\Expr\FuncCall;
1313
use PhpParser\Node\Name;
14+
use PhpParser\Node\Stmt;
1415
use PhpParser\Node\Stmt\Break_;
1516
use PhpParser\Node\Stmt\Expression;
1617
use PhpParser\Node\Stmt\Foreach_;
@@ -58,6 +59,7 @@ public function getRuleDefinition(): RuleDefinition
5859

5960
/**
6061
* @param Expression $node
62+
* @return Stmt[]|null
6163
*/
6264
public function refactor(Node $node): ?array
6365
{

0 commit comments

Comments
 (0)