diff --git a/Annotation/Loader.php b/Annotation/Loader.php index 4a605dac..84c9393c 100644 --- a/Annotation/Loader.php +++ b/Annotation/Loader.php @@ -325,8 +325,8 @@ class Loader extends BaseObject { foreach ($nodes as $node) { $this->execute($node->getFiles()); - $this->addError($node->getDirPath() . '-->' . $outPath); if (!empty($outPaht) && str_contains($node->getDirPath(), $outPath)) { + $this->addError($node->getDirPath() . '-->' . $outPath); continue; } $childes = $node->getChildes();