From 149ae8d33338254259bd705cec15f0fe15178011 Mon Sep 17 00:00:00 2001 From: ProklUng Date: Sun, 1 Aug 2021 22:00:04 +0300 Subject: [PATCH] fix --- src/Utils/DelegatedContainer/Manipulator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Utils/DelegatedContainer/Manipulator.php b/src/Utils/DelegatedContainer/Manipulator.php index a4064fc..26153a6 100644 --- a/src/Utils/DelegatedContainer/Manipulator.php +++ b/src/Utils/DelegatedContainer/Manipulator.php @@ -45,7 +45,7 @@ public function set(string $id, ?object $service) /** * @inheritdoc */ - public function get(string $id, int $invalidBehavior = self::EXCEPTION_ON_INVALID_REFERENCE) + public function get($id, int $invalidBehavior = self::EXCEPTION_ON_INVALID_REFERENCE) { foreach ($this->delegatedContainers as $delegatingContainer) { /** @var ContainerInterface[] $delegatingContainer */ @@ -67,7 +67,7 @@ public function get(string $id, int $invalidBehavior = self::EXCEPTION_ON_INVALI /** * @inheritdoc */ - public function has(string $id) + public function has($id) { foreach ($this->delegatedContainers as $delegatingContainer) { /** @var ContainerInterface[] $delegatingContainer */