Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Côme Chilliet <[email protected]>
Signed-off-by: Maxence Lange <[email protected]>
  • Loading branch information
ArtificialOwl and come-nc authored May 21, 2024
1 parent 0d58b3b commit 899b6fc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/private/AppFramework/Bootstrap/RegistrationContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class RegistrationContext {
/** @var ServiceRegistration<IDeclarativeSettingsForm>[] */
private array $declarativeSettings = [];

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

/** @var ServiceRegistration<ITeamResourceProvider>[] */
Expand Down Expand Up @@ -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)) {
Expand Down

0 comments on commit 899b6fc

Please sign in to comment.