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

@@ -61,12 +61,12 @@ use const SCANDIR_SORT_NONE;
final class Filesystem{
/** @var resource[] */
private static $lockFileHandles = [];
private static array $lockFileHandles = [];
/**
* @var string[]
* @phpstan-var array<string, string>
*/
private static $cleanedPaths = [
private static array $cleanedPaths = [
\pocketmine\PATH => self::CLEAN_PATH_SRC_PREFIX
];