Failed Conditions
Pull Request — master (#247)
by Michael
10:43 queued 30s
created
lib/Doctrine/Annotations/DocParser.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -523,7 +523,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
886 886
             }
887 887
 
888 888
             if ($found) {
889
-                 $identifier = $className . '::' . $const;
889
+                    $identifier = $className . '::' . $const;
890 890
             }
891 891
         }
892 892
 
Please login to merge, or discard this patch.