Modernize private property declarations in src/resourcepacks

This commit is contained in:
Dylan K. Taylor 2022-05-17 21:52:07 +01:00
parent c60311617d
commit 9e59819f06
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -40,18 +40,14 @@ use function strtolower;
use const DIRECTORY_SEPARATOR;
class ResourcePackManager{
/** @var string */
private $path;
/** @var bool */
private $serverForceResources = false;
private string $path;
private bool $serverForceResources = false;
/** @var ResourcePack[] */
private $resourcePacks = [];
private array $resourcePacks = [];
/** @var ResourcePack[] */
private $uuidList = [];
private array $uuidList = [];
/**
* @param string $path Path to resource-packs directory.