We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c8acea commit 66e9ca1Copy full SHA for 66e9ca1
tests/UtilsTest.php
@@ -32,11 +32,7 @@ public function testThatGetClosureFromCallableWorksAsExpected() {
32
$this->assertTrue(
33
Utils::getClosureFromCallable(Descendant::class.'::who') instanceof Closure
34
); // static method call string syntax
35
-
36
- $this->assertTrue(
37
- Utils::getClosureFromCallable([Descendant::class, 'parent::who']) instanceof Closure
38
- ); // parent class' static method call
39
+
40
41
Utils::getClosureFromCallable( (new Descendant()) ) instanceof Closure
42
); // instance of class that has __invoke()
0 commit comments