@@ -51,7 +51,7 @@ |
||
51 | 51 | $searchResults = Post::where('title', 'LIKE', '%'.$request->get('s').'%')->limit(100)->get(); |
52 | 52 | |
53 | 53 | // Map it so the post is actually accessible with ->indexable, for backwards compatibility in old view files. |
54 | - $searchResultsMappedWithIndexable = $searchResults->map(function (Post $post) { |
|
54 | + $searchResultsMappedWithIndexable = $searchResults->map(function(Post $post) { |
|
55 | 55 | return new class($post) |
56 | 56 | { |
57 | 57 | public $indexable; |