mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-25 12:54:03 +00:00
BaseInventory: correctly annotate content type of slots field
fixes warnings on phpstan level 4
This commit is contained in:
parent
b3cfa5a3a0
commit
73c5fe5cf9
@ -46,7 +46,7 @@ abstract class BaseInventory implements Inventory{
|
|||||||
protected $name;
|
protected $name;
|
||||||
/** @var string */
|
/** @var string */
|
||||||
protected $title;
|
protected $title;
|
||||||
/** @var \SplFixedArray|Item[] */
|
/** @var \SplFixedArray|(Item|null)[] */
|
||||||
protected $slots;
|
protected $slots;
|
||||||
/** @var Player[] */
|
/** @var Player[] */
|
||||||
protected $viewers = [];
|
protected $viewers = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user