mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 01:16:15 +00:00
add some phpstan array types
This commit is contained in:
@ -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(){
|
||||
|
Reference in New Issue
Block a user