Only accept null values for nullable state columns #238
Annotations
10 errors
PHPStan:
application/controllers/RedundancygroupController.php#L50
Property Icinga\Module\Icingadb\Controllers\RedundancygroupController::$groupId (string) does not accept mixed.
|
PHPStan:
application/controllers/RedundancygroupController.php#L64
Property Icinga\Module\Icingadb\Controllers\RedundancygroupController::$group (Icinga\Module\Icingadb\Model\RedundancyGroup) does not accept ipl\Orm\Model|null.
|
PHPStan:
application/controllers/RedundancygroupController.php#L78
Property Icinga\Module\Icingadb\Controllers\RedundancygroupController::$groupSummary (Icinga\Module\Icingadb\Model\RedundancyGroupSummary) does not accept ipl\Orm\Model|null.
|
PHPStan:
application/controllers/RedundancygroupController.php#L80
Parameter #2 $summary of class Icinga\Module\Icingadb\Widget\Detail\RedundancyGroupHeader constructor expects Icinga\Module\Icingadb\Model\RedundancyGroupSummary, ipl\Orm\Model|null given.
|
PHPStan:
application/controllers/RedundancygroupController.php#L189
Parameter #2 $value of method Icinga\Web\UrlParams::set() expects string, true given.
|
PHPStan:
application/controllers/RedundancygroupController.php#L255
Cannot call method setParam() on ipl\Web\Url|null.
|
PHPStan:
application/controllers/RedundancygroupController.php#L322
Method Icinga\Module\Icingadb\Controllers\RedundancygroupController::fetchCommandTargets() has no return type specified.
|
PHPStan:
library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Data/DependencyNodes)#L35
Cannot call method isUnrestricted() on Icinga\User|null.
|
PHPStan:
library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Data/DependencyNodes)#L57
Cannot call method isUnrestricted() on Icinga\User|null.
|
PHPStan:
library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Data/DependencyNodes)#L82
Cannot call method isUnrestricted() on Icinga\User|null.
|
Loading