diff --git a/tests/Support/SupportCollectionTest.php b/tests/Support/SupportCollectionTest.php index 85aa31ce3bf3..0d7467d5a4dd 100755 --- a/tests/Support/SupportCollectionTest.php +++ b/tests/Support/SupportCollectionTest.php @@ -313,17 +313,19 @@ public function testHigherOrderFilter() new class { public $name = 'Alex'; - public function active() { + public function active() + { return true; } }, new class { public $name = 'John'; - public function active() { + public function active() + { return false; } - } + }, ]); $this->assertCount(1, $c->filter->active());