Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Maxence Lange <[email protected]>
  • Loading branch information
ArtificialOwl committed Mar 22, 2024
1 parent eee62ee commit 6482249
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/private/AppConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -1540,7 +1540,7 @@ private function compareRegisteredConfigValues(
self::VALUE_FLOAT => IConfigValue::TYPE_FLOAT,
self::VALUE_BOOL => IConfigValue::TYPE_BOOL,
self::VALUE_ARRAY => IConfigValue::TYPE_ARRAY,
}) {
}) {
throw new AppConfigTypeConflictException('This key is mistyped compare to the list of available AppConfig keys for this app');
}

Expand Down
2 changes: 1 addition & 1 deletion lib/private/AppFramework/Bootstrap/RegistrationContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ public function getDeclarativeSettings(): array {
*/
public function getConfigValues(string $app, string $configType): array {
return $this->configValues[$app][$configType] ?? [];
}
}

public function strictConfigValues(string $app): bool {
return $this->configValues[$app]['_strict'] ?? false;
Expand Down

0 comments on commit 6482249

Please sign in to comment.