diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2021-03-11 08:50:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-11 08:50:32 +0100 |
commit | 6db7731742f1e5f490deb874a0b04e86b3be8642 (patch) | |
tree | 6463551df9b880e6f55b0ff1073d6b196a233c86 /lib/private | |
parent | 56b08c04c739dc5ad1cc0e924004fa8acc2ce3ac (diff) | |
parent | 7287a15acbb33fc05f79cdc5b64b9c876bd1f946 (diff) | |
download | nextcloud-server-6db7731742f1e5f490deb874a0b04e86b3be8642.tar.gz nextcloud-server-6db7731742f1e5f490deb874a0b04e86b3be8642.zip |
Merge pull request #26015 from nextcloud/dependabot/composer/psr/container-1.1.1
Bump psr/container from 1.0.0 to 1.1.1
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/AppFramework/Utility/SimpleContainer.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/AppFramework/Utility/SimpleContainer.php b/lib/private/AppFramework/Utility/SimpleContainer.php index 2aa5da116e6..84c4c3447a2 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); } |