Qual: Fix phan/phpstan notices 💊 #8323
Annotations
10 errors
Run PHPStan:
htdocs/comm/propal/card.php#L3157
Parameter #7 $params of function dolGetButtonAction expects array<int, array{confirm?: array{url?: string, title?: string, content?: string, action-btn-label?: string, cancel-button-label?: string, modal?: bool}, attr?: array<string, mixed>, isDropDown: bool|int<0, 1>, areDropdownButtons?: bool, backtopage?: string, lang?: string, enabled: bool, perm: int<0, 1>, ...}>, array{areDropdownButtons: bool, backtopage: non-falsy-string} given.
|
Run PHPStan:
htdocs/comm/propal/card.php#L3159
Parameter #7 $params of function dolGetButtonAction expects array<int, array{confirm?: array{url?: string, title?: string, content?: string, action-btn-label?: string, cancel-button-label?: string, modal?: bool}, attr?: array<string, mixed>, isDropDown: bool|int<0, 1>, areDropdownButtons?: bool, backtopage?: string, lang?: string, enabled: bool, perm: int<0, 1>, ...}>, array{areDropdownButtons: bool, backtopage: non-falsy-string} given.
|
Run PHPStan:
htdocs/commande/card.php#L3100
Parameter #7 $params of function dolGetButtonAction expects array<int, array{confirm?: array{url?: string, title?: string, content?: string, action-btn-label?: string, cancel-button-label?: string, modal?: bool}, attr?: array<string, mixed>, isDropDown: bool|int<0, 1>, areDropdownButtons?: bool, backtopage?: string, lang?: string, enabled: bool, perm: int<0, 1>, ...}>, array{areDropdownButtons: bool} given.
|
Run PHPStan:
htdocs/commande/card.php#L3102
Parameter #7 $params of function dolGetButtonAction expects array<int, array{confirm?: array{url?: string, title?: string, content?: string, action-btn-label?: string, cancel-button-label?: string, modal?: bool}, attr?: array<string, mixed>, isDropDown: bool|int<0, 1>, areDropdownButtons?: bool, backtopage?: string, lang?: string, enabled: bool, perm: int<0, 1>, ...}>, array{areDropdownButtons: bool} given.
|
Run PHPStan:
htdocs/compta/facture/card.php#L5776
Parameter #7 $params of function dolGetButtonAction expects array<int, array{confirm?: array{url?: string, title?: string, content?: string, action-btn-label?: string, cancel-button-label?: string, modal?: bool}, attr?: array<string, mixed>, isDropDown: bool|int<0, 1>, areDropdownButtons?: bool, backtopage?: string, lang?: string, enabled: bool, perm: int<0, 1>, ...}>, array{attr: array{class: 'classfortooltip'}} given.
|
Run PHPStan:
htdocs/compta/facture/card.php#L5779
Parameter #7 $params of function dolGetButtonAction expects array<int, array{confirm?: array{url?: string, title?: string, content?: string, action-btn-label?: string, cancel-button-label?: string, modal?: bool}, attr?: array<string, mixed>, isDropDown: bool|int<0, 1>, areDropdownButtons?: bool, backtopage?: string, lang?: string, enabled: bool, perm: int<0, 1>, ...}>, array{attr: array{class: 'classfortooltip', title: mixed}} given.
|
Run PHPStan:
htdocs/compta/facture/card.php#L5783
Parameter #7 $params of function dolGetButtonAction expects array<int, array{confirm?: array{url?: string, title?: string, content?: string, action-btn-label?: string, cancel-button-label?: string, modal?: bool}, attr?: array<string, mixed>, isDropDown: bool|int<0, 1>, areDropdownButtons?: bool, backtopage?: string, lang?: string, enabled: bool, perm: int<0, 1>, ...}>, array{attr: array{class: 'classfortooltip', title: mixed}} given.
|
Run PHPStan:
htdocs/compta/facture/card.php#L5786
Parameter #7 $params of function dolGetButtonAction expects array<int, array{confirm?: array{url?: string, title?: string, content?: string, action-btn-label?: string, cancel-button-label?: string, modal?: bool}, attr?: array<string, mixed>, isDropDown: bool|int<0, 1>, areDropdownButtons?: bool, backtopage?: string, lang?: string, enabled: bool, perm: int<0, 1>, ...}>, array{attr: array{class: 'classfortooltip', title: mixed}} given.
|
Run PHPStan:
htdocs/compta/facture/card.php#L5791
Parameter #7 $params of function dolGetButtonAction expects array<int, array{confirm?: array{url?: string, title?: string, content?: string, action-btn-label?: string, cancel-button-label?: string, modal?: bool}, attr?: array<string, mixed>, isDropDown: bool|int<0, 1>, areDropdownButtons?: bool, backtopage?: string, lang?: string, enabled: bool, perm: int<0, 1>, ...}>, array{attr: array{class: 'classfortooltip', title: mixed}} given.
|
Run PHPStan:
htdocs/compta/facture/card.php#L5807
Parameter #7 $params of function dolGetButtonAction expects array<int, array{confirm?: array{url?: string, title?: string, content?: string, action-btn-label?: string, cancel-button-label?: string, modal?: bool}, attr?: array<string, mixed>, isDropDown: bool|int<0, 1>, areDropdownButtons?: bool, backtopage?: string, lang?: string, enabled: bool, perm: int<0, 1>, ...}>, array{attr: array{class: 'classfortooltip'}} given.
|
Loading