feat(ux): improve language creation wizard usability #92
Annotations
10 errors
|
MixedAssignment:
src/Modules/Text/Views/edit_form.php#L56
src/Modules/Text/Views/edit_form.php:56:1: MixedAssignment: Unable to determine the type that $scrdirTyped is being assigned to (see https://psalm.dev/032)
|
|
MixedAssignment:
src/Modules/Text/Views/edit_form.php#L55
src/Modules/Text/Views/edit_form.php:55:1: MixedAssignment: Unable to determine the type that $textMediaUri is being assigned to (see https://psalm.dev/032)
|
|
MixedAssignment:
src/Modules/Text/Views/edit_form.php#L54
src/Modules/Text/Views/edit_form.php:54:1: MixedAssignment: Unable to determine the type that $textSource is being assigned to (see https://psalm.dev/032)
|
|
MixedAssignment:
src/Modules/Text/Views/edit_form.php#L53
src/Modules/Text/Views/edit_form.php:53:1: MixedAssignment: Unable to determine the type that $textContent is being assigned to (see https://psalm.dev/032)
|
|
MixedAssignment:
src/Modules/Text/Views/edit_form.php#L52
src/Modules/Text/Views/edit_form.php:52:1: MixedAssignment: Unable to determine the type that $textTitle is being assigned to (see https://psalm.dev/032)
|
|
MixedAssignment:
src/Modules/Text/Views/edit_form.php#L51
src/Modules/Text/Views/edit_form.php:51:1: MixedAssignment: Unable to determine the type that $textLgId is being assigned to (see https://psalm.dev/032)
|
|
MixedAssignment:
src/Modules/Text/Views/edit_form.php#L50
src/Modules/Text/Views/edit_form.php:50:1: MixedAssignment: Unable to determine the type that $textIdTyped is being assigned to (see https://psalm.dev/032)
|
|
InvalidArrayOffset:
src/Modules/Home/Views/index.php#L101
src/Modules/Home/Views/index.php:101:14: InvalidArrayOffset: Cannot access value on variable $dashboardData using offset value of 'current_language_text_count', expecting 'language_count', 'current_language_id', 'current_text_id', 'current_text_info', 'is_wordpress' or 'is_multi_user' (see https://psalm.dev/115)
|
|
InvalidReturnStatement:
src/Modules/Home/Application/HomeFacade.php#L58
src/Modules/Home/Application/HomeFacade.php:58:16: InvalidReturnStatement: The inferred type 'array{current_language_id: int|null, current_language_text_count: int, current_text_id: int|null, current_text_info: array<array-key, mixed>|null, is_multi_user: bool, is_wordpress: bool, language_count: int}' does not match the declared return type 'array{current_language_id: int|null, current_text_id: int|null, current_text_info: array<array-key, mixed>|null, is_multi_user: bool, is_wordpress: bool, language_count: int}' for Lwt\Modules\Home\Application\HomeFacade::getDashboardData due to additional array shape fields (current_language_text_count) (see https://psalm.dev/128)
|
|
InvalidReturnType:
src/Modules/Home/Application/HomeFacade.php#L47
src/Modules/Home/Application/HomeFacade.php:47:16: InvalidReturnType: The declared return type 'array{current_language_id: int|null, current_text_id: int|null, current_text_info: array<array-key, mixed>|null, is_multi_user: bool, is_wordpress: bool, language_count: int}' for Lwt\Modules\Home\Application\HomeFacade::getDashboardData is incorrect, got 'array{current_language_id: int|null, current_language_text_count: int, current_text_id: int|null, current_text_info: array<array-key, mixed>|null, is_multi_user: bool, is_wordpress: bool, language_count: int}' which is different due to additional array shape fields (current_language_text_count) (see https://psalm.dev/011)
|