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; use const DIRECTORY_SEPARATOR;
class ResourcePackManager{ class ResourcePackManager{
private string $path;
/** @var string */ private bool $serverForceResources = false;
private $path;
/** @var bool */
private $serverForceResources = false;
/** @var ResourcePack[] */ /** @var ResourcePack[] */
private $resourcePacks = []; private array $resourcePacks = [];
/** @var ResourcePack[] */ /** @var ResourcePack[] */
private $uuidList = []; private array $uuidList = [];
/** /**
* @param string $path Path to resource-packs directory. * @param string $path Path to resource-packs directory.