Passed
Push — master ( 7b42a8...29affb )
by Babak
02:25
created
src/BaseController.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -218,8 +218,7 @@
 block discarded – undo
218 218
                 $this->model
219 219
                     ->whereKey(collect($this->model
220 220
                         ->search(($request->get('query')))
221
-                        ->raw())->get('ids')) :
222
-                $this->model;
221
+                        ->raw())->get('ids')) : $this->model;
223 222
 
224 223
             if (array_key_exists('file', $request->toArray())) {
225 224
                 //TODO add relation on top if here and create a tree flatter array in array helper
Please login to merge, or discard this patch.