diff --git a/Annotation/Loader.php b/Annotation/Loader.php index ff5ab939..57db60d6 100644 --- a/Annotation/Loader.php +++ b/Annotation/Loader.php @@ -320,13 +320,14 @@ class Loader extends BaseObject /** * @param FileTree[] $nodes * @param string|null $outPath + * @throws Exception */ private function eachNode(array $nodes, ?string $outPath = '') { foreach ($nodes as $node) { $this->execute($node->getFiles()); + $this->addError($node->getDirPath() . '-->' . $outPath); if (!empty($outPaht) && str_contains($node->getDirPath(), $outPath)) { - var_dump($node->getDirPath(), $outPath); continue; } $childes = $node->getChildes();