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 5b7ba33 commit f0794ceCopy full SHA for f0794ce
tests/SearchTest.php
@@ -314,7 +314,7 @@ public function test_paginate()
314
$this->assertEquals(2, $paginator->currentPage());
315
$this->assertEquals(
316
$ids->skip(2)->take(2)->values()->all(),
317
- array_map(fn($item) => $item->id, $paginator->items())
+ array_map(function ($item) { return $item->id; }, $paginator->items())
318
);
319
}
320
0 commit comments