Modernize private property declarations in src/network

This commit is contained in:
Dylan K. Taylor
2022-05-17 21:22:33 +01:00
parent cd016bedce
commit 6eac2ea7a5
31 changed files with 154 additions and 340 deletions

View File

@ -54,7 +54,7 @@ final class CraftingDataCache{
* @var CraftingDataPacket[]
* @phpstan-var array<int, CraftingDataPacket>
*/
private $caches = [];
private array $caches = [];
public function getCache(CraftingManager $manager) : CraftingDataPacket{
$id = spl_object_id($manager);