From 7287a15acbb33fc05f79cdc5b64b9c876bd1f946 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 8 Mar 2021 20:06:10 +0100 Subject: [PATCH] Bump psr/container from 1.0.0 to 1.1.1 Signed-off-by: Christoph Wurst --- lib/private/AppFramework/Utility/SimpleContainer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/private/AppFramework/Utility/SimpleContainer.php b/lib/private/AppFramework/Utility/SimpleContainer.php index 2aa5da116e..84c4c3447a 100644 --- a/lib/private/AppFramework/Utility/SimpleContainer.php +++ b/lib/private/AppFramework/Utility/SimpleContainer.php @@ -52,11 +52,11 @@ class SimpleContainer implements ArrayAccess, ContainerInterface, IContainer { $this->container = new Container(); } - public function get($id) { + public function get(string $id) { return $this->query($id); } - public function has($id): bool { + public function has(string $id): bool { // If a service is no registered but is an existing class, we can probably load it return isset($this->container[$id]) || class_exists($id); }