From 19682234869bb302ae1090359bee897cee4fde8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 19 Apr 2021 12:44:32 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Annotation/Loader.php b/Annotation/Loader.php index cf9d7dfd..cd4a4605 100644 --- a/Annotation/Loader.php +++ b/Annotation/Loader.php @@ -273,7 +273,7 @@ class Loader extends BaseObject $array = explode('/', $filePath); array_pop($array); - $directory = implode('/', $array); + $directory = '/' . implode('/', $array); $this->_directory[$directory][] = $className;