Passed
Push — master ( 424429...ba166d )
by Babak
04:28
created
src/BaseController.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -162,8 +162,7 @@
 block discarded – undo
162 162
                 $this->model
163 163
                     ->whereKey(collect($this->model
164 164
                         ->search(($request->get('query')))
165
-                        ->raw())->get('ids')) :
166
-                $this->model;
165
+                        ->raw())->get('ids')) : $this->model;
167 166
             if (array_key_exists('file', $request->toArray())) {
168 167
                 //TODO add relation on top if here and create a tree flatter array in array helper
169 168
                 return (new ExcelHelper())->setOptions([
Please login to merge, or discard this patch.