@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | $this->parser->setIgnoredAnnotationNames($this->getIgnoredAnnotationNames($class)); |
142 | 142 | $this->parser->setIgnoredAnnotationNamespaces(self::$globalIgnoredNamespaces); |
143 | 143 | |
144 | - return $this->parser->parse($class->getDocComment(), 'class ' . $class->getName()); |
|
144 | + return $this->parser->parse($class->getDocComment(), 'class '.$class->getName()); |
|
145 | 145 | } |
146 | 146 | |
147 | 147 | /** |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | public function getPropertyAnnotations(ReflectionProperty $property) |
167 | 167 | { |
168 | 168 | $class = $property->getDeclaringClass(); |
169 | - $context = 'property ' . $class->getName() . "::\$" . $property->getName(); |
|
169 | + $context = 'property '.$class->getName()."::\$".$property->getName(); |
|
170 | 170 | |
171 | 171 | $this->parser->setTarget(Target::TARGET_PROPERTY); |
172 | 172 | $this->parser->setImports($this->getPropertyImports($property)); |
@@ -198,7 +198,7 @@ discard block |
||
198 | 198 | public function getMethodAnnotations(ReflectionMethod $method) |
199 | 199 | { |
200 | 200 | $class = $method->getDeclaringClass(); |
201 | - $context = 'method ' . $class->getName() . '::' . $method->getName() . '()'; |
|
201 | + $context = 'method '.$class->getName().'::'.$method->getName().'()'; |
|
202 | 202 | |
203 | 203 | $this->parser->setTarget(Target::TARGET_METHOD); |
204 | 204 | $this->parser->setImports($this->getMethodImports($method)); |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | public function getConstantAnnotations(\ReflectionClassConstant $constant) |
231 | 231 | { |
232 | 232 | $class = $constant->getDeclaringClass(); |
233 | - $context = 'constant ' . $class->getName() . "::" . $constant->getName(); |
|
233 | + $context = 'constant '.$class->getName()."::".$constant->getName(); |
|
234 | 234 | |
235 | 235 | $this->parser->setTarget(Target::TARGET_CONSTANT); |
236 | 236 | $this->parser->setImports($this->getConstantImports($constant)); |
@@ -376,7 +376,7 @@ discard block |
||
376 | 376 | private function collectParsingMetadata(ReflectionClass $class) |
377 | 377 | { |
378 | 378 | $ignoredAnnotationNames = self::$globalIgnoredNames; |
379 | - $annotations = $this->preParser->parse($class->getDocComment(), 'class ' . $class->name); |
|
379 | + $annotations = $this->preParser->parse($class->getDocComment(), 'class '.$class->name); |
|
380 | 380 | |
381 | 381 | foreach ($annotations as $annotation) { |
382 | 382 | if ($annotation instanceof IgnoreAnnotation) { |
@@ -24,7 +24,7 @@ |
||
24 | 24 | | self::TARGET_METHOD |
25 | 25 | | self::TARGET_PROPERTY |
26 | 26 | | self::TARGET_ANNOTATION |
27 | - | self::TARGET_CONSTANT; |
|
27 | + | self::TARGET_CONSTANT; |
|
28 | 28 | |
29 | 29 | private const LABELS = [ |
30 | 30 | self::TARGET_CLASS => 'CLASS', |