We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee2ea9d commit a5836efCopy full SHA for a5836ef
Test/KernelShutdownOnTearDownTrait.php
@@ -15,7 +15,7 @@
15
16
// Auto-adapt to PHPUnit 8 that added a `void` return-type to the tearDown method
17
18
-if (method_exists(\ReflectionMethod::class, 'hasReturnType') && (new \ReflectionMethod(TestCase::class, 'tearDown'))->hasReturnType()) {
+if ((new \ReflectionMethod(TestCase::class, 'tearDown'))->hasReturnType()) {
19
/**
20
* @internal
21
*/
0 commit comments