@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | */ |
89 | 89 | protected function registerToken($name, $regex, $class) |
90 | 90 | { |
91 | - if (! is_string($name)) { |
|
91 | + if (!is_string($name)) { |
|
92 | 92 | throw new TokenMapException('Can\'t register token, name must be string'); |
93 | 93 | } |
94 | 94 | |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | )); |
100 | 100 | } |
101 | 101 | |
102 | - if (! is_subclass_of($class, OperandInterface::class)) { |
|
102 | + if (!is_subclass_of($class, OperandInterface::class)) { |
|
103 | 103 | throw new TokenMapException(sprintf( |
104 | 104 | 'Token <%s> with class <%s> must implement OperandInterface', $name, $class |
105 | 105 | )); |