Apply Dylan's suggestions #10501
Annotations
10 errors and 1 warning
Run PHPStan:
src/inventory/CreativeInventory.php#L78
Parameter #3 $icon of static method pocketmine\inventory\data\CreativeGroup::named() expects pocketmine\item\Item, pocketmine\item\Item|null given.
|
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#L42
Readonly property pocketmine\inventory\data\CreativeGroup::$categoryId is assigned outside of the constructor.
|
Run PHPStan:
src/inventory/data/CreativeGroup.php#L43
Readonly property pocketmine\inventory\data\CreativeGroup::$name is assigned outside of the constructor.
|
Run PHPStan:
src/inventory/data/CreativeGroup.php#L44
Readonly property pocketmine\inventory\data\CreativeGroup::$icon is assigned outside of the constructor.
|
Run PHPStan:
src/inventory/data/CreativeGroup.php#L52
Readonly property pocketmine\inventory\data\CreativeGroup::$categoryId is assigned outside of the constructor.
|
Run PHPStan:
src/inventory/data/CreativeGroup.php#L53
Readonly property pocketmine\inventory\data\CreativeGroup::$name is assigned outside of the constructor.
|
Run PHPStan:
src/inventory/data/CreativeGroup.php#L54
Readonly property pocketmine\inventory\data\CreativeGroup::$icon is assigned outside of the constructor.
|
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
|
Loading