fixing some aftermath #5274
Annotations
7 errors
MoreSpecificReturnType:
lib/Model/UserBase.php#L332
lib/Model/UserBase.php:332:19: MoreSpecificReturnType: The declared return type 'array{categories: null, desc: null, displayName: string, emailAddress: string, id: string, isNoUser: bool, languageCode: null, localeCode: null, organisation: null, subName: null, subtitle: null, timeZone: null, type: string, user: null}' for OCA\Polls\Model\UserBase::getSimpleUserArray is more specific than the inferred return type 'array{categories: null, desc: null, displayName: string, emailAddress: null|string, id: string, isNoUser: bool, languageCode: null, localeCode: null, organisation: null, subName: null, subtitle: null, timeZone: null, type: string}' (see https://psalm.dev/070)
|
LessSpecificReturnStatement:
lib/Model/UserBase.php#L335
lib/Model/UserBase.php:335:10: LessSpecificReturnStatement: The type 'array{categories: null, desc: null, displayName: string, emailAddress: null|string, id: string, isNoUser: bool, languageCode: null, localeCode: null, organisation: null, subName: null, subtitle: null, timeZone: null, type: string}' is more general than the declared return type 'array{categories: null, desc: null, displayName: string, emailAddress: string, id: string, isNoUser: bool, languageCode: null, localeCode: null, organisation: null, subName: null, subtitle: null, timeZone: null, type: string, user: null}' for OCA\Polls\Model\UserBase::getSimpleUserArray (see https://psalm.dev/129)
|
Psalm (master, 8.1)
Process completed with exit code 2.
|
Psalm (master, 8.3)
The job was canceled because "master_8_1" failed.
|
Psalm (master, 8.3)
The operation was canceled.
|
Psalm (master, 8.2)
The job was canceled because "master_8_1" failed.
|
Psalm (master, 8.2)
The operation was canceled.
|