@@ -183,7 +183,7 @@ discard block |
||
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 |
||
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 | } |