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