Skip to content

Commit f2f5740

Browse files
[GHA] Fix psalm job
1 parent 40967c9 commit f2f5740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Test/ForwardCompatTestTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
// Auto-adapt to PHPUnit 8 that added a `void` return-type to the setUp/tearDown methods
1717

18-
if (method_exists(\ReflectionMethod::class, 'hasReturnType') && (new \ReflectionMethod(TestCase::class, 'tearDown'))->hasReturnType()) {
18+
if ((new \ReflectionMethod(TestCase::class, 'tearDown'))->hasReturnType()) {
1919
/**
2020
* @internal
2121
*/

0 commit comments

Comments
 (0)