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 6cf7910 commit 3e7b746Copy full SHA for 3e7b746
Test/ForwardCompatTestTrait.php
@@ -15,7 +15,7 @@
15
16
// Auto-adapt to PHPUnit 8 that added a `void` return-type to the setUp/tearDown methods
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