Passed
Push — dev ( 8f8316...1d37e4 )
by Miguel Ángel
02:12
created
src/SpecificClassCollection/SpecificClassCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
     {
58 58
         $elementClass = get_class($element);
59 59
 
60
-        if ($this->getValidClassName() !== $elementClass  && ! is_subclass_of($element, $this->getValidClassName())) {
60
+        if ($this->getValidClassName() !== $elementClass && !is_subclass_of($element, $this->getValidClassName())) {
61 61
             throw new InvalidClassException($this->getValidClassName());
62 62
         }
63 63
 
Please login to merge, or discard this patch.