@@ -62,11 +62,11 @@ |
||
62 | 62 | */ |
63 | 63 | public function initAnnotation(array $properties) |
64 | 64 | { |
65 | - if(count($properties) !== 1 || !isset($properties['name']) || !is_string($properties['name'])) |
|
65 | + if (count($properties) !== 1 || !isset($properties['name']) || !is_string($properties['name'])) |
|
66 | 66 | { |
67 | 67 | throw new AnnotationException('the @callback annotation requires a single string as property'); |
68 | 68 | } |
69 | - if(!$this->validateObjectName($properties['name'])) |
|
69 | + if (!$this->validateObjectName($properties['name'])) |
|
70 | 70 | { |
71 | 71 | throw new AnnotationException($properties['name'] . ' is not a valid "name" value for the @callback annotation'); |
72 | 72 | } |