From 60be56d6bec5fb84c2377cbae96df2e02f8832df Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Thu, 8 Apr 2021 01:49:22 +0800 Subject: [PATCH] modify --- Annotation/Loader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Annotation/Loader.php b/Annotation/Loader.php index a8a0ef50..2a222ebd 100644 --- a/Annotation/Loader.php +++ b/Annotation/Loader.php @@ -245,7 +245,7 @@ class Loader extends BaseObject public function appendFileToDirectory(string $filePath, string $className) { $directory = $this->splitDirectory($filePath); - array_pop($DIRECTORY); + array_pop($directory); $tree = null; foreach ($directory as $value) {