@@ -57,7 +57,7 @@ |
||
| 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 | |