Skip to content

Commit 899b6fc

Browse files
Apply suggestions from code review
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
1 parent 0d58b3b commit 899b6fc

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/private/AppFramework/Bootstrap/RegistrationContext.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class RegistrationContext {
161161
/** @var ServiceRegistration<IDeclarativeSettingsForm>[] */
162162
private array $declarativeSettings = [];
163163

164-
/** @var array<array-key, string> */
164+
/** @var array<string,class-string<IConfigLexicon>> Config lexicon classes indexed by appid */
165165
private array $configLexiconClasses = [];
166166

167167
/** @var ServiceRegistration<ITeamResourceProvider>[] */
@@ -942,10 +942,6 @@ public function getDeclarativeSettings(): array {
942942
/**
943943
* returns IConfigLexicon registered by the app.
944944
* null if none registered.
945-
*
946-
* @param string $appId
947-
*
948-
* @return IConfigLexicon|null
949945
*/
950946
public function getConfigLexicon(string $appId): ?IConfigLexicon {
951947
if (!array_key_exists($appId, $this->configLexiconClasses)) {

0 commit comments

Comments
 (0)