@@ -523,7 +523,7 @@ discard block |
||
523 | 523 | } |
524 | 524 | |
525 | 525 | // Checks if the property has type[] |
526 | - if (false !== $pos = strrpos($type, '[')) { |
|
526 | + if (false !== $pos = strrpos($type, '[')) { |
|
527 | 527 | $arrayType = substr($type, 0, $pos); |
528 | 528 | |
529 | 529 | $metadata->withType([ |
@@ -675,7 +675,7 @@ discard block |
||
675 | 675 | if (($metadata->getTarget()->unwrap() & $target) === 0 && $target) { |
676 | 676 | throw AnnotationException::semanticalError( |
677 | 677 | sprintf('Annotation @%s is not allowed to be declared on %s. You may only use this annotation on these code elements: %s.', |
678 | - $originalName, $this->context, $metadata->getTarget()->describe()) |
|
678 | + $originalName, $this->context, $metadata->getTarget()->describe()) |
|
679 | 679 | ); |
680 | 680 | } |
681 | 681 | |
@@ -860,9 +860,9 @@ discard block |
||
860 | 860 | case !empty ($this->namespaces): |
861 | 861 | foreach ($this->namespaces as $ns) { |
862 | 862 | if (class_exists($ns.'\\'.$className) || interface_exists($ns.'\\'.$className)) { |
863 | - $className = $ns.'\\'.$className; |
|
864 | - $found = true; |
|
865 | - break; |
|
863 | + $className = $ns.'\\'.$className; |
|
864 | + $found = true; |
|
865 | + break; |
|
866 | 866 | } |
867 | 867 | } |
868 | 868 | break; |
@@ -887,7 +887,7 @@ discard block |
||
887 | 887 | } |
888 | 888 | |
889 | 889 | if ($found) { |
890 | - $identifier = $className . '::' . $const; |
|
890 | + $identifier = $className . '::' . $const; |
|
891 | 891 | } |
892 | 892 | } |
893 | 893 |