Add batch methods in user backends #30707
Annotations
8 errors
lib/private/Group/Database.php#L341
lib/private/Group/Database.php:341:45: MoreSpecificReturnType: The declared return type 'list<string>' for OC\Group\Database::groupsExists is more specific than the inferred return type 'list<mixed|string>' (see https://psalm.dev/070)
|
lib/private/Group/Database.php#L371
lib/private/Group/Database.php:371:10: LessSpecificReturnStatement: The type 'list<mixed|string>' is more general than the declared return type 'list<string>' for OC\Group\Database::groupsExists (see https://psalm.dev/129)
|
lib/private/Group/Database.php#L534
lib/private/Group/Database.php:534:49: MoreSpecificReturnType: The declared return type 'array<string, array{displayName: string}>' for OC\Group\Database::getGroupsDetails is more specific than the inferred return type 'array<array-key, array{displayName: mixed|string}>' (see https://psalm.dev/070)
|
lib/private/Group/Database.php#L565
lib/private/Group/Database.php:565:10: LessSpecificReturnStatement: The type 'array<array-key, array{displayName: mixed|string}>' is more general than the declared return type 'array<string, array{displayName: string}>' for OC\Group\Database::getGroupsDetails (see https://psalm.dev/129)
|
lib/private/Group/DisplayNameCache.php#L42
lib/private/Group/DisplayNameCache.php:42:35: MissingTemplateParam: OC\Group\DisplayNameCache has missing template params when extending OCP\EventDispatcher\IEventListener, expecting 1 (see https://psalm.dev/182)
|
lib/public/Group/Backend/ABackend.php#L83
lib/public/Group/Backend/ABackend.php:83:49: InvalidReturnType: The declared return type 'array<string, array{displayName: string}>' for OCP\Group\Backend\ABackend::getGroupsDetails is incorrect, got 'array<string, array{displayName?: string}>' (see https://psalm.dev/011)
|
lib/public/Group/Backend/ABackend.php#L92
lib/public/Group/Backend/ABackend.php:92:10: InvalidReturnStatement: The inferred type 'array<string, array{displayName?: string}>' does not match the declared return type 'array<string, array{displayName: string}>' for OCP\Group\Backend\ABackend::getGroupsDetails (see https://psalm.dev/128)
|
|
The logs for this run have expired and are no longer available.
Loading