@@ -21,7 +21,7 @@ |
||
21 | 21 | |
22 | 22 | public function __construct($values = [], $name = null) |
23 | 23 | { |
24 | - if ((null !== $name) && !is_string($name) && !(is_object($name) && method_exists($name, '__toString'))) { |
|
24 | + if ((null !== $name) && ! is_string($name) && ! (is_object($name) && method_exists($name, '__toString'))) { |
|
25 | 25 | throw new \RuntimeException( |
26 | 26 | 'Type must be either string, null or object implements __toString() method.' |
27 | 27 | ); |