Failed Conditions
Pull Request — master (#247)
by Michael
05:36
created
lib/Doctrine/Annotations/DocParser.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -521,7 +521,7 @@  discard block
 block discarded – undo
521 521
         }
522 522
 
523 523
         // Checks if the property has type[]
524
-         if (false !== $pos = strrpos($type, '[')) {
524
+            if (false !== $pos = strrpos($type, '[')) {
525 525
             $arrayType = substr($type, 0, $pos);
526 526
 
527 527
             return $metadata->withType([
@@ -670,7 +670,7 @@  discard block
 block discarded – undo
670 670
         if (($this->metadata->get($name)->getTarget()->unwrap() & $target) === 0 && $target) {
671 671
             throw AnnotationException::semanticalError(
672 672
                 sprintf('Annotation @%s is not allowed to be declared on %s. You may only use this annotation on these code elements: %s.',
673
-                     $originalName, $this->context, $this->metadata->get($name)->getTarget()->describe())
673
+                        $originalName, $this->context, $this->metadata->get($name)->getTarget()->describe())
674 674
             );
675 675
         }
676 676
 
@@ -855,9 +855,9 @@  discard block
 block discarded – undo
855 855
                 case !empty ($this->namespaces):
856 856
                     foreach ($this->namespaces as $ns) {
857 857
                         if (class_exists($ns.'\\'.$className) || interface_exists($ns.'\\'.$className)) {
858
-                             $className = $ns.'\\'.$className;
859
-                             $found = true;
860
-                             break;
858
+                                $className = $ns.'\\'.$className;
859
+                                $found = true;
860
+                                break;
861 861
                         }
862 862
                     }
863 863
                     break;
@@ -882,7 +882,7 @@  discard block
 block discarded – undo
882 882
             }
883 883
 
884 884
             if ($found) {
885
-                 $identifier = $className . '::' . $const;
885
+                    $identifier = $className . '::' . $const;
886 886
             }
887 887
         }
888 888
 
Please login to merge, or discard this patch.