Skip to content

Commit 66e9ca1

Browse files
author
rotimi
committed
Tweak
1 parent 4c8acea commit 66e9ca1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/UtilsTest.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,7 @@ public function testThatGetClosureFromCallableWorksAsExpected() {
3232
$this->assertTrue(
3333
Utils::getClosureFromCallable(Descendant::class.'::who') instanceof Closure
3434
); // 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-
35+
4036
$this->assertTrue(
4137
Utils::getClosureFromCallable( (new Descendant()) ) instanceof Closure
4238
); // instance of class that has __invoke()

0 commit comments

Comments
 (0)