diff --git a/src/DelegatingContainer.php b/src/DelegatingContainer.php index 2690f1d..f113618 100644 --- a/src/DelegatingContainer.php +++ b/src/DelegatingContainer.php @@ -39,6 +39,7 @@ public function __construct(ServiceProviderInterface $provider, PsrContainerInte */ public function get($id) { + $id = (string) $id; static $stack = []; if (array_key_exists($id, $stack)) {