add some phpstan array types

This commit is contained in:
Dylan K. Taylor
2020-01-30 22:06:21 +00:00
parent 4ff4434a22
commit 260ac47588
39 changed files with 177 additions and 27 deletions

View File

@ -30,7 +30,10 @@ use pocketmine\network\mcpe\NetworkSession;
class GameRulesChangedPacket extends DataPacket{
public const NETWORK_ID = ProtocolInfo::GAME_RULES_CHANGED_PACKET;
/** @var mixed[][] */
/**
* @var mixed[][]
* @phpstan-var array<string, array{0: int, 1: bool|int|float}>
*/
public $gameRules = [];
protected function decodePayload(){