Code Duplication    Length = 4-5 lines in 2 locations

modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php 2 locations

@@ 906-910 (lines=5) @@
903
            switch (true) {
904
                case !empty ($this->namespaces):
905
                    foreach ($this->namespaces as $ns) {
906
                        if (class_exists($ns.'\\'.$className) || interface_exists($ns.'\\'.$className)) {
907
                             $className = $ns.'\\'.$className;
908
                             $found = true;
909
                             break;
910
                        }
911
                    }
912
                    break;
913
@@ 925-928 (lines=4) @@
922
                    if(isset($this->imports['__NAMESPACE__'])) {
923
                        $ns = $this->imports['__NAMESPACE__'];
924
925
                        if (class_exists($ns.'\\'.$className) || interface_exists($ns.'\\'.$className)) {
926
                            $className = $ns.'\\'.$className;
927
                            $found = true;
928
                        }
929
                    }
930
                    break;
931
            }