Skip to content

Commit 65a81fc

Browse files
Merge branch '4.2'
* 4.2: fix merge
2 parents 580c6a7 + a5836ef commit 65a81fc

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)