@@ -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([ |
@@ -674,7 +674,7 @@ discard block |
||
| 674 | 674 | if (($this->metadata->get($name)->getTarget()->unwrap() & $target) === 0 && $target) { |
| 675 | 675 | throw AnnotationException::semanticalError( |
| 676 | 676 | sprintf('Annotation @%s is not allowed to be declared on %s. You may only use this annotation on these code elements: %s.', |
| 677 | - $originalName, $this->context, $this->metadata->get($name)->getTarget()->describe()) |
|
| 677 | + $originalName, $this->context, $this->metadata->get($name)->getTarget()->describe()) |
|
| 678 | 678 | ); |
| 679 | 679 | } |
| 680 | 680 | |
@@ -859,9 +859,9 @@ discard block |
||
| 859 | 859 | case !empty ($this->namespaces): |
| 860 | 860 | foreach ($this->namespaces as $ns) { |
| 861 | 861 | if (class_exists($ns.'\\'.$className) || interface_exists($ns.'\\'.$className)) { |
| 862 | - $className = $ns.'\\'.$className; |
|
| 863 | - $found = true; |
|
| 864 | - break; |
|
| 862 | + $className = $ns.'\\'.$className; |
|
| 863 | + $found = true; |
|
| 864 | + break; |
|
| 865 | 865 | } |
| 866 | 866 | } |
| 867 | 867 | break; |
@@ -886,7 +886,7 @@ discard block |
||
| 886 | 886 | } |
| 887 | 887 | |
| 888 | 888 | if ($found) { |
| 889 | - $identifier = $className . '::' . $const; |
|
| 889 | + $identifier = $className . '::' . $const; |
|
| 890 | 890 | } |
| 891 | 891 | } |
| 892 | 892 | |