diff --git a/src/DI/Container.php b/src/DI/Container.php index 34bf176..e27bdcd 100644 --- a/src/DI/Container.php +++ b/src/DI/Container.php @@ -45,10 +45,10 @@ public function get(string $name): mixed } /** - * TBD + * Resolve the dependencies of a given injection. * - * @param array $list - * @return array + * @param Injection $injection + * @return mixed */ public function inject(Injection $injection): mixed // Route { diff --git a/src/DI/Injection.php b/src/DI/Injection.php index a042270..ccad288 100644 --- a/src/DI/Injection.php +++ b/src/DI/Injection.php @@ -73,7 +73,7 @@ public function getDependencies(): array /** * Depenedency * - * @param string $dependency + * @param string $name * @return self * * @throws Exception