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)) {