Completed
Push — master ( cb1dba...ffcb18 )
by Juuso
03:45
created
src/AlgoliaManager.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
         }
209 209
 
210 210
         foreach ($indices as $index) {
211
-            $temporaryIndexName = 'tmp_' . $index->indexName;
211
+            $temporaryIndexName = 'tmp_'.$index->indexName;
212 212
 
213 213
             /** @var Index $temporaryIndex */
214 214
             $temporaryIndex = $this->initIndex($temporaryIndexName);
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
     {
273 273
         $reflectionClass = new \ReflectionClass($class);
274 274
 
275
-        if (! $reflectionClass->implementsInterface(SearchableInterface::class)) {
275
+        if ( ! $reflectionClass->implementsInterface(SearchableInterface::class)) {
276 276
             throw new \InvalidArgumentException("The class: {$reflectionClass->name} doesn't implement leinonen\\Yii2Algolia\\SearchableInterface");
277 277
         }
278 278
     }
@@ -291,8 +291,8 @@  discard block
 block discarded – undo
291 291
         $indices = [];
292 292
 
293 293
         foreach ($indexNames as $indexName) {
294
-            if($this->env !== null){
295
-                $indexName = $this->env . '_' . $indexName;
294
+            if ($this->env !== null) {
295
+                $indexName = $this->env.'_'.$indexName;
296 296
             }
297 297
 
298 298
             $indices[] = $this->initIndex($indexName);
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -291,7 +291,7 @@
 block discarded – undo
291 291
         $indices = [];
292 292
 
293 293
         foreach ($indexNames as $indexName) {
294
-            if($this->env !== null){
294
+            if($this->env !== null) {
295 295
                 $indexName = $this->env . '_' . $indexName;
296 296
             }
297 297
 
Please login to merge, or discard this patch.