Modernize property declarations in src/

This commit is contained in:
Dylan K. Taylor
2022-04-28 13:14:23 +01:00
parent 0e7e776862
commit 46c504e529
2 changed files with 5 additions and 9 deletions

View File

@ -33,16 +33,14 @@ use function strtolower;
final class ServerConfigGroup{
/** @var Config */
private $pocketmineYml;
/** @var Config */
private $serverProperties;
private Config $pocketmineYml;
private Config $serverProperties;
/**
* @var mixed[]
* @phpstan-var array<string, mixed>
*/
private $propertyCache = [];
private array $propertyCache = [];
public function __construct(Config $pocketmineYml, Config $serverProperties){
$this->pocketmineYml = $pocketmineYml;