LoginPacketHandler: use playerInfo directly again, fix another 2 PHPStan level 8 errors

This commit is contained in:
Dylan K. Taylor
2020-06-17 21:30:34 +01:00
parent eefb6ae8e7
commit 715fca8986
2 changed files with 2 additions and 7 deletions

View File

@ -485,11 +485,6 @@ parameters:
count: 1
path: ../../../src/network/mcpe/encryption/PrepareEncryptionTask.php
-
message: "#^Cannot call method getUsername\\(\\) on pocketmine\\\\player\\\\PlayerInfo\\|null\\.$#"
count: 2
path: ../../../src/network/mcpe/handler/LoginPacketHandler.php
-
message: "#^Property pocketmine\\\\network\\\\mcpe\\\\protocol\\\\StartGamePacket\\:\\:\\$blockTable \\(pocketmine\\\\network\\\\mcpe\\\\protocol\\\\types\\\\CacheableNbt\\<pocketmine\\\\nbt\\\\tag\\\\ListTag\\>\\) does not accept pocketmine\\\\network\\\\mcpe\\\\protocol\\\\types\\\\CacheableNbt\\<pocketmine\\\\nbt\\\\tag\\\\ListTag\\>\\|null\\.$#"
count: 1