@@ -33,7 +33,7 @@ |
||
33 | 33 | */ |
34 | 34 | public function makeSearchableObject($className) |
35 | 35 | { |
36 | - if (! (new \ReflectionClass($className))->implementsInterface(SearchableInterface::class)) { |
|
36 | + if ( ! (new \ReflectionClass($className))->implementsInterface(SearchableInterface::class)) { |
|
37 | 37 | throw new \InvalidArgumentException("Cannot initiate a class ({$className}) which doesn't implement leinonen\\Yii2Algolia\\SearchableInterface"); |
38 | 38 | } |
39 | 39 |