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 = '';