Skip to content

Commit

Permalink
fix: inline constructor default when early return
Browse files Browse the repository at this point in the history
  • Loading branch information
Karim Pinchon committed Jul 27, 2022
1 parent 3f3fc41 commit 44eda96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function resolve(ClassMethod $classMethod): array

foreach ($stmts as $stmt) {
if (! $stmt instanceof Expression) {
continue;
break;
}

$nestedStmt = $stmt->expr;
Expand Down

0 comments on commit 44eda96

Please sign in to comment.