feat(config): implement config lexicon #41007
Annotations
5 errors
Psalm:
lib/private/AppConfig.php#L1560
lib/private/AppConfig.php:1560:63: InvalidReturnType: The declared return type 'array<array-key, mixed>' for OC\AppConfig::getConfigDetailsFromLexicon is incorrect, got 'OCP\ConfigLexicon\IConfigLexicon|array{entries: array<string, OCP\ConfigLexicon\IConfigLexiconEntry>, strict: bool}' (see https://psalm.dev/011)
|
Psalm:
lib/private/AppConfig.php#L1568
lib/private/AppConfig.php:1568:4: InvalidPropertyAssignmentValue: $this->configLexiconDetails with declared type 'array<string, OCP\ConfigLexicon\IConfigLexicon>' cannot be assigned type 'non-empty-array<string, OCP\ConfigLexicon\IConfigLexicon|array{entries: array<string, OCP\ConfigLexicon\IConfigLexiconEntry>, strict: bool}>' (see https://psalm.dev/145)
|
Psalm:
lib/private/AppConfig.php#L1574
lib/private/AppConfig.php:1574:10: InvalidReturnStatement: The inferred type 'OCP\ConfigLexicon\IConfigLexicon|array{entries: array<string, OCP\ConfigLexicon\IConfigLexiconEntry>, strict: bool}' does not match the declared return type 'array<array-key, mixed>' for OC\AppConfig::getConfigDetailsFromLexicon (see https://psalm.dev/128)
|
Psalm:
lib/private/AppFramework/Bootstrap/RegistrationContext.php#L955
lib/private/AppFramework/Bootstrap/RegistrationContext.php:955:20: TooManyArguments: Too many arguments for OCP\Server::get - expecting 1 but saw 2 (see https://psalm.dev/026)
|
Psalm
Process completed with exit code 2.
|
Loading