Passed
Pull Request — master (#196)
by webdevetc
20:32 queued 14:09
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
             {
57 57
                 public $indexable;
Please login to merge, or discard this patch.