Skip to content

Commit 87a0047

Browse files
phpstan-botclaude
andcommitted
Fix lint issue: wrap new Foo() in parentheses in test data
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0521bc6 commit 87a0047

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/PHPStan/Rules/DeadCode/data/bug-14328.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ public function returnThis(mixed $value): self {
1212
}
1313
}
1414

15-
$x = new Foo()->returnThis($callback())->returnThis('x');
15+
$x = (new Foo())->returnThis($callback())->returnThis('x');
1616
$y = 'this will never run';

0 commit comments

Comments
 (0)