Skip to content

Commit

Permalink
Adds support for strict types in the config
Browse files Browse the repository at this point in the history
  • Loading branch information
austinkregel authored Sep 17, 2024
1 parent 9b5d016 commit 366304f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ArrayFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ protected function getAstReturnIndex(array $ast): ?int
switch (get_class($item)) {
case Stmt\Use_::class:
case Stmt\Expression::class:
case Stmt\Declare_::class:
break;
case Stmt\Return_::class:
return $index;
Expand Down

0 comments on commit 366304f

Please sign in to comment.