Passed
Push — master ( 5f47d9...ffb41d )
by Babak
07:04
created
src/BaseController.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -154,8 +154,7 @@
 block discarded – undo
154 154
             $this->model
155 155
                 ->whereKey(collect($this->model
156 156
                     ->search(($request->get('query')))
157
-                    ->raw())->get('ids')) :
158
-            $this->model;
157
+                    ->raw())->get('ids')) : $this->model;
159 158
         if (array_key_exists('file', $request->toArray())) {
160 159
             //TODO add relation on top if here and create a tree flatter array in array helper
161 160
             return (new ExcelHelper())->setOptions([
Please login to merge, or discard this patch.