diff --git a/vendor/strauss/lucatume/di52/src/Container.php b/vendor/strauss/lucatume/di52/src/Container.php index ff8192d..64d4640 100644 --- a/vendor/strauss/lucatume/di52/src/Container.php +++ b/vendor/strauss/lucatume/di52/src/Container.php @@ -214,7 +214,7 @@ public function offsetGet($offset) * * @throws ContainerException Error while retrieving the entry. */ - public function get($id) + public function get(string $id) { try { return $this->resolver->resolve($id, [$id]); @@ -299,7 +299,7 @@ public function offsetExists($offset) * * @return bool Whether the container contains a binding for an id or not. */ - public function has($id) + public function has(string $id) { return $this->resolver->isBound($id) || class_exists($id); }