Passed
Push — hans/under-scrutiny ( 19d2f3...60bebb )
by Simon
01:16
created
src/Factories/DocumentFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
         $name = $this->getShortFieldName($options['name']);
126 126
         $name = str_replace('_', '.', $name);
127 127
 
128
-        $doc[$name] = $value;//, $options['boost'], Document::MODIFIER_SET);
128
+        $doc[$name] = $value; //, $options['boost'], Document::MODIFIER_SET);
129 129
     }
130 130
 
131 131
     protected function recursiveImplode($arr)
Please login to merge, or discard this patch.
src/Services/ElasticCoreService.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -158,8 +158,8 @@
 block discarded – undo
158 158
         $body = ['body' => []];
159 159
         if (self::config()->get('pipeline')) {
160 160
             $body['body'] = [ // @todo Check if this is indeed how it works
161
-                              'index'    => $index->getIndexName(),
162
-                              'pipeline' => self::config()->get('pipeline')
161
+                                'index'    => $index->getIndexName(),
162
+                                'pipeline' => self::config()->get('pipeline')
163 163
             ];
164 164
         }
165 165
         foreach ($docs as $doc) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
157 157
     {
158 158
         $body = ['body' => []];
159 159
         if (self::config()->get('pipeline')) {
160
-            $body['body'] = [ // @todo Check if this is indeed how it works
160
+            $body['body'] = [// @todo Check if this is indeed how it works
161 161
                               'index'    => $index->getIndexName(),
162 162
                               'pipeline' => self::config()->get('pipeline')
163 163
             ];
Please login to merge, or discard this patch.
src/Results/SearchResult.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -287,7 +287,7 @@
 block discarded – undo
287 287
             }
288 288
         }
289 289
 
290
-        return $result->sort(['FacetCount' => 'DESC', 'Title' => 'ASC',]);
290
+        return $result->sort(['FacetCount' => 'DESC', 'Title' => 'ASC', ]);
291 291
     }
292 292
 
293 293
     /**
Please login to merge, or discard this patch.