Test Failed
Push — master ( 0dce25...995814 )
by Juuso
07:42
created
src/AlgoliaManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -304,7 +304,7 @@
 block discarded – undo
304 304
     /**
305 305
      * Returns the name of the class for given object.
306 306
      *
307
-     * @param $class
307
+     * @param SearchableInterface $class
308 308
      *
309 309
      * @return string
310 310
      */
Please login to merge, or discard this patch.
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.