Completed
Pull Request — refacto/local-factory (#168)
by Nuno
36:14 queued 31:38
created
src/Settings/LocalFactory.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -261,8 +261,7 @@
 block discarded – undo
261 261
                 throw tap(new ModelNotFoundException())->setModel($searchable);
262 262
             }
263 263
 
264
-            $attributes = method_exists($instance, 'toSearchableArray') ? $instance->toSearchableArray() :
265
-                $instance->toArray();
264
+            $attributes = method_exists($instance, 'toSearchableArray') ? $instance->toSearchableArray() : $instance->toArray();
266 265
         }
267 266
 
268 267
         return $attributes;
Please login to merge, or discard this patch.