Modernize property declarations in src/utils

This commit is contained in:
Dylan K. Taylor
2022-04-28 13:12:12 +01:00
parent de12b701ac
commit 0e7e776862
7 changed files with 34 additions and 71 deletions

View File

@ -74,23 +74,19 @@ class Config{
* @var mixed[]
* @phpstan-var array<string, mixed>
*/
private $config = [];
private array $config = [];
/**
* @var mixed[]
* @phpstan-var array<string, mixed>
*/
private $nestedCache = [];
private array $nestedCache = [];
/** @var string */
private $file;
/** @var int */
private $type = Config::DETECT;
/** @var int */
private $jsonOptions = JSON_PRETTY_PRINT | JSON_BIGINT_AS_STRING;
private string $file;
private int $type = Config::DETECT;
private int $jsonOptions = JSON_PRETTY_PRINT | JSON_BIGINT_AS_STRING;
/** @var bool */
private $changed = false;
private bool $changed = false;
/** @var int[] */
public static $formats = [