Completed
Push — master ( d69ca0...b1965a )
by Juuso
06:10
created
src/AlgoliaManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
         }
184 184
 
185 185
         foreach ($indices as $index) {
186
-            $temporaryIndexName = 'tmp_' . $index;
186
+            $temporaryIndexName = 'tmp_'.$index;
187 187
 
188 188
             /** @var Index $temporaryIndex */
189 189
             $temporaryIndex = $this->initIndex($temporaryIndexName);
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
     {
241 241
         $reflectionClass = new \ReflectionClass($class);
242 242
 
243
-        if (!$reflectionClass->implementsInterface(SearchableInterface::class)) {
243
+        if ( ! $reflectionClass->implementsInterface(SearchableInterface::class)) {
244 244
             throw new \InvalidArgumentException("The class: {$reflectionClass->name} doesn't implement leinonen\\Yii2Algolia\\SearchableInterface");
245 245
         }
246 246
     }
Please login to merge, or discard this patch.