Modernize property type declarations

This commit is contained in:
Dylan K. Taylor
2022-06-04 18:16:32 +01:00
parent 23695fb900
commit 083a35f970
114 changed files with 431 additions and 863 deletions

View File

@ -41,15 +41,9 @@ use function preg_match;
use function strlen;
class ZippedResourcePack implements ResourcePack{
/** @var string */
protected $path;
/** @var Manifest */
protected $manifest;
/** @var string|null */
protected $sha256 = null;
protected string $path;
protected Manifest $manifest;
protected ?string $sha256 = null;
/** @var resource */
protected $fileResource;