mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
AttributeMap: add phpstan generic parameters for ArrayAccess
This commit is contained in:
parent
5816ff85ba
commit
5bded9cff8
@ -25,6 +25,9 @@ namespace pocketmine\entity;
|
||||
|
||||
use function array_filter;
|
||||
|
||||
/**
|
||||
* @phpstan-implements \ArrayAccess<int, float>
|
||||
*/
|
||||
class AttributeMap implements \ArrayAccess{
|
||||
/** @var Attribute[] */
|
||||
private $attributes = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user