From d5c592b2052bb5ed75433b48ab8527da779a26fc Mon Sep 17 00:00:00 2001 From: IsraelGavino <39182997+IsraelGavino@users.noreply.github.com> Date: Wed, 12 Apr 2023 04:31:19 +0200 Subject: [PATCH] Update Container.php Fixed the error that is giving in new versions of the props Declaration of Props\Container::has($name) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool in --- src/Props/Container.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Props/Container.php b/src/Props/Container.php index 9e48548..f423362 100644 --- a/src/Props/Container.php +++ b/src/Props/Container.php @@ -102,7 +102,7 @@ public function __isset($name) /** * {@inheritdoc} */ - public function has($name) + public function has(string $name): bool { return $this->__isset($name); }