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

@ -42,7 +42,10 @@ class AddItemActorPacket extends DataPacket{
public $position;
/** @var Vector3|null */
public $motion;
/** @var mixed[][] */
/**
* @var mixed[][]
* @phpstan-var array<int, array{0: int, 1: mixed}>
*/
public $metadata = [];
/** @var bool */
public $isFromFishing = false;