Completed
Push — master ( f8c9ff...80eb7e )
by Adam
03:35
created
src/BestServedCold/LaravelZendSearch/Laravel/Console/Rebuild.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,13 +18,13 @@
 block discarded – undo
18 18
     protected $name = 'search:rebuild';
19 19
     protected $description = 'Rebuild the search index';
20 20
 
21
-    private $models = [];
21
+    private $models = [ ];
22 22
 
23 23
     public function getModels()
24 24
     {
25 25
         foreach (get_declared_classes() as $class) {
26 26
             if (is_subclass_of($class, Model::class) && method_exists($class, 'searchFields')) {
27
-                $this->models[] = $class;
27
+                $this->models[ ] = $class;
28 28
             }
29 29
         }
30 30
     }
Please login to merge, or discard this patch.
src/BestServedCold/LaravelZendSearch/Lucene/Store/Insert.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,9 +61,9 @@
 block discarded – undo
61 61
      * @param array $parameters
62 62
      * @return Document
63 63
      */
64
-    private function addParameters(Document $document, array $parameters = [])
64
+    private function addParameters(Document $document, array $parameters = [ ])
65 65
     {
66
-        if (! empty($parameters)) {
66
+        if (!empty($parameters)) {
67 67
             $document->addField($this->field('_parameters', $this->flattenParameters($parameters), 'unIndexed'));
68 68
         }
69 69
 
Please login to merge, or discard this patch.