Passed
Pull Request — main (#67)
by Simon
02:48 queued 01:40
created
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.
src/Factories/DocumentFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
         $name = $this->getShortFieldName($options['name']);
136 136
         $name = str_replace('_', '.', $name);
137 137
 
138
-        $doc[$name] = $value;//, $options['boost'], Document::MODIFIER_SET);
138
+        $doc[$name] = $value; //, $options['boost'], Document::MODIFIER_SET);
139 139
     }
140 140
 
141 141
     /**
Please login to merge, or discard this patch.