Skip to content

Commit 71ce832

Browse files
committed
fix code style
1 parent b23bcea commit 71ce832

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/Integration/Queries/RawQueryTest.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -472,11 +472,12 @@ public function test_search_result_can_be_cached(): void
472472
$cacheStore = Cache::store('file');
473473
$cacheStore->clear();
474474

475-
$found = $cacheStore->rememberForever('raw_search_result', static function () {
476-
return Book::searchQuery(['match_all' => new stdClass()])
475+
$found = $cacheStore->rememberForever(
476+
'raw_search_result',
477+
static fn () => Book::searchQuery(['match_all' => new stdClass()])
477478
->sort('id')
478-
->execute();
479-
});
479+
->execute()
480+
);
480481

481482
$this->assertFoundModels($target, $found);
482483
}

0 commit comments

Comments
 (0)