From 1e23e299e7d88e67f88d75bf6bf7ee4b066eb7c2 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Thu, 8 Apr 2021 01:43:44 +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 a28f4a37..f03b4697 100644 --- a/Annotation/Loader.php +++ b/Annotation/Loader.php @@ -267,7 +267,7 @@ class Loader extends BaseObject $directory = $this->splitDirectory($filePath); if (!empty($output)) { - $output = DIRECTORY_SEPARATOR . rtrim($output, '/'); + $output = DIRECTORY_SEPARATOR . trim($output, '/'); } $out_path = '';