mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 20:14:31 +00:00
Deal with a whole lot of PHPStan suppressed key casting errors
closes #6534
This commit is contained in:
@@ -102,7 +102,10 @@ abstract class Entity{
|
||||
return self::$entityCount++;
|
||||
}
|
||||
|
||||
/** @var Player[] */
|
||||
/**
|
||||
* @var Player[]
|
||||
* @phpstan-var array<int, Player>
|
||||
*/
|
||||
protected array $hasSpawned = [];
|
||||
|
||||
protected int $id;
|
||||
|
Reference in New Issue
Block a user