diff --git a/Annotation/Loader.php b/Annotation/Loader.php index b459f791..c65c393d 100644 --- a/Annotation/Loader.php +++ b/Annotation/Loader.php @@ -246,7 +246,7 @@ class Loader extends BaseObject if (!str_contains($key, $path)) { continue; } - $this->execute($this->_directory[$_path]); + $this->execute($_path); } } catch (Throwable $exception) { $this->addError($exception, 'throwable');