From aa738e1b5e4e0c2837a4737d29a104894812e7e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 19 Apr 2021 15:43:56 +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 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Annotation/Loader.php b/Annotation/Loader.php index 3e17ae14..a1db2716 100644 --- a/Annotation/Loader.php +++ b/Annotation/Loader.php @@ -234,11 +234,6 @@ class Loader extends BaseObject if (!isset($this->_directory[$path])) { return; } - if (empty($outPath)) { - $outPath = []; - } else if (is_string($outPath)) { - $outPath = [$outPath]; - } foreach ($this->_directory as $key => $_path) { $key = '/' . trim($key, '/'); if (!str_starts_with($key, $path)) {