mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Modernize private property declarations in src/inventory
This commit is contained in:
@ -34,7 +34,7 @@ final class CreativeInventory{
|
||||
use SingletonTrait;
|
||||
|
||||
/** @var Item[] */
|
||||
private $creative = [];
|
||||
private array $creative = [];
|
||||
|
||||
private function __construct(){
|
||||
$creativeItems = json_decode(file_get_contents(Path::join(\pocketmine\BEDROCK_DATA_PATH, "creativeitems.json")), true);
|
||||
|
Reference in New Issue
Block a user