@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | */ |
| 90 | 90 | protected function validateMethodAttribute(AttributeAnnotation $annotation, \ReflectionMethod $method) |
| 91 | 91 | { |
| 92 | - if (! $method->isPublic()) { |
|
| 92 | + if (!$method->isPublic()) { |
|
| 93 | 93 | throw new \LogicException(sprintf( |
| 94 | 94 | 'Attribute annotation can be applied only to non public method "%s".', |
| 95 | 95 | $method->getName() |
@@ -205,13 +205,13 @@ discard block |
||
| 205 | 205 | */ |
| 206 | 206 | protected function processDataType(string $definition, Attribute $attribute) |
| 207 | 207 | { |
| 208 | - if (! preg_match(self::DATATYPE_PATTERN, $definition, $matches)) { |
|
| 208 | + if (!preg_match(self::DATATYPE_PATTERN, $definition, $matches)) { |
|
| 209 | 209 | throw new \LogicException(sprintf('Data-type definition "%s" is invalid.', $definition)); |
| 210 | 210 | } |
| 211 | 211 | |
| 212 | 212 | $attribute->setType($matches['type']); |
| 213 | 213 | |
| 214 | - if (! empty($matches['many'])) { |
|
| 214 | + if (!empty($matches['many'])) { |
|
| 215 | 215 | $attribute->setMany(); |
| 216 | 216 | } |
| 217 | 217 | |