From 899b6fc9949bd394b2cd491d05d87f7eb2457f13 Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Tue, 21 May 2024 14:44:31 -0100 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Maxence Lange --- lib/private/AppFramework/Bootstrap/RegistrationContext.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/private/AppFramework/Bootstrap/RegistrationContext.php b/lib/private/AppFramework/Bootstrap/RegistrationContext.php index fea337bb9296a..2d21c02f7b86c 100644 --- a/lib/private/AppFramework/Bootstrap/RegistrationContext.php +++ b/lib/private/AppFramework/Bootstrap/RegistrationContext.php @@ -161,7 +161,7 @@ class RegistrationContext { /** @var ServiceRegistration[] */ private array $declarativeSettings = []; - /** @var array */ + /** @var array> Config lexicon classes indexed by appid */ private array $configLexiconClasses = []; /** @var ServiceRegistration[] */ @@ -942,10 +942,6 @@ public function getDeclarativeSettings(): array { /** * returns IConfigLexicon registered by the app. * null if none registered. - * - * @param string $appId - * - * @return IConfigLexicon|null */ public function getConfigLexicon(string $appId): ?IConfigLexicon { if (!array_key_exists($appId, $this->configLexiconClasses)) {