diff --git a/src/core/Loader.php b/src/core/Loader.php index bb0ad41..025b90c 100644 --- a/src/core/Loader.php +++ b/src/core/Loader.php @@ -122,9 +122,11 @@ class Loader } /** Resets the object to the initial state */ - public function reset(): void + public function reset(): self { $this->classes = []; $this->instances = []; + + return $this; } }