Modernize private property declarations in src/inventory

This commit is contained in:
Dylan K. Taylor
2022-05-17 20:49:12 +01:00
parent 221c6b8570
commit a06b9294df
3 changed files with 10 additions and 22 deletions

View File

@ -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);