diff --git a/Annotation/Loader.php b/Annotation/Loader.php index 18bd63a3..90125d76 100644 --- a/Annotation/Loader.php +++ b/Annotation/Loader.php @@ -231,7 +231,7 @@ class Loader extends BaseObject return; } foreach ($this->_directory[$path] as $key => $_path) { - if (!str_starts_with($key, $_path)) { + if (!str_starts_with($key, $path)) { continue; } $this->execute($this->_directory[$_path]);