mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-25 04:44: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;
|
||||
/** @var string */
|
||||
protected $title;
|
||||
/** @var \SplFixedArray|Item[] */
|
||||
/** @var \SplFixedArray|(Item|null)[] */
|
||||
protected $slots;
|
||||
/** @var Player[] */
|
||||
protected $viewers = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user