diff --git a/Annotation/Loader.php b/Annotation/Loader.php index 20b16e78..a28f4a37 100644 --- a/Annotation/Loader.php +++ b/Annotation/Loader.php @@ -274,7 +274,7 @@ class Loader extends BaseObject foreach ($directory as $key => $value) { $out_path .= DIRECTORY_SEPARATOR . $value; if ($out_path === $output) { - continue; + break; } $tree = $this->getTree($tree, $value); }