World: improve type info for getTickingChunks()

This commit is contained in:
Dylan K. Taylor 2023-04-26 17:06:52 +01:00
parent 8102616ff4
commit 9bfcd39f2a
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -1161,6 +1161,7 @@ class World implements ChunkManager{
* ticking.
*
* @return int[]
* @phpstan-return list<ChunkPosHash>
*/
public function getTickingChunks() : array{
return array_keys($this->tickingChunks);