Completed
Branch master (995814)
by Juuso
11:40 queued 06:36
created
src/AlgoliaFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.