|
@@ -161,7 +161,7 @@ discard block |
|
|
block discarded – undo |
|
161
|
161
|
} |
|
162
|
162
|
|
|
163
|
163
|
foreach ($indices as $index) { |
|
164
|
|
- $temporaryIndexName = 'tmp_' . $index; |
|
|
164
|
+ $temporaryIndexName = 'tmp_'.$index; |
|
165
|
165
|
|
|
166
|
166
|
/** @var Index $temporaryIndex */ |
|
167
|
167
|
$temporaryIndex = $this->initIndex($temporaryIndexName); |
|
@@ -211,7 +211,7 @@ discard block |
|
|
block discarded – undo |
|
211
|
211
|
{ |
|
212
|
212
|
$reflectionClass = new \ReflectionClass($class); |
|
213
|
213
|
|
|
214
|
|
- if (! $reflectionClass->implementsInterface(SearchableInterface::class)) { |
|
|
214
|
+ if ( ! $reflectionClass->implementsInterface(SearchableInterface::class)) { |
|
215
|
215
|
throw new \InvalidArgumentException("The class: {$reflectionClass->getName()} doesn't implement leinonen\\Yii2Algolia\\SearchableInterface"); |
|
216
|
216
|
} |
|
217
|
217
|
} |
Please login to merge, or discard this patch.