Skip to content

Commit a5836ef

Browse files
fix merge
1 parent ee2ea9d commit a5836ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Test/KernelShutdownOnTearDownTrait.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 tearDown method
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)