Fix PHPStan #10503
Annotations
7 errors and 1 warning
Run PHPStan:
src/inventory/data/CreativeGroup.php#L31
Class pocketmine\inventory\data\CreativeGroup has an uninitialized readonly property $categoryId. Assign it in the constructor.
|
Run PHPStan:
src/inventory/data/CreativeGroup.php#L32
Class pocketmine\inventory\data\CreativeGroup has an uninitialized readonly property $name. Assign it in the constructor.
|
Run PHPStan:
src/inventory/data/CreativeGroup.php#L33
Class pocketmine\inventory\data\CreativeGroup has an uninitialized readonly property $icon. Assign it in the constructor.
|
Run PHPStan:
src/inventory/data/CreativeGroup.php#L35
Constructor of class pocketmine\inventory\data\CreativeGroup has an unused parameter $categoryId.
|
Run PHPStan:
src/inventory/data/CreativeGroup.php#L35
Constructor of class pocketmine\inventory\data\CreativeGroup has an unused parameter $icon.
|
Run PHPStan:
src/inventory/data/CreativeGroup.php#L35
Constructor of class pocketmine\inventory\data\CreativeGroup has an unused parameter $name.
|
Run PHPStan
Process completed with exit code 1.
|
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
|
Loading