From 4d71c5036b1d5f0aefe6d398aec215e3a80e22da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 14 Apr 2021 18:26:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Annotation/Loader.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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();