Completed
Push — master ( befb63...4b8c9a )
by Adam
06:30 queued 02:43
created
src/BestServedCold/LaravelZendSearch/Laravel/RebuildModels.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -31,18 +31,18 @@  discard block
 block discarded – undo
31 31
      */
32 32
     private function getModels()
33 33
     {
34
-        $models = [];
34
+        $models = [ ];
35 35
 
36 36
         foreach (get_declared_classes() as $class) {
37 37
             if (is_subclass_of($class, Model::class) && method_exists($class, 'searchFields')) {
38
-                $models[] = $class;
38
+                $models[ ] = $class;
39 39
             }
40 40
         }
41 41
 
42
-        return empty($models) ? [] : $models;
42
+        return empty($models) ? [ ] : $models;
43 43
     }
44 44
 
45
-    public function setModels(array $models = [])
45
+    public function setModels(array $models = [ ])
46 46
     {
47 47
         $this->models = $models;
48 48
     }
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      */
54 54
     private function output($type, $string)
55 55
     {
56
-        if (! $this->output instanceof NullOutput) {
56
+        if (!$this->output instanceof NullOutput) {
57 57
             $this->output->$type($string);
58 58
         }
59 59
     }
Please login to merge, or discard this patch.