Passed
Pull Request — master (#167)
by webdevetc
04:40
created
src/Controllers/PostsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
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
                 public $indexable;
57 57
 
Please login to merge, or discard this patch.