World: more minor documentation improvements

This commit is contained in:
Dylan K. Taylor 2022-10-16 16:50:42 +01:00
parent cd04a3db2e
commit 2a910c1cc2
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -698,7 +698,7 @@ class World implements ChunkManager{
*
* Returns a list of players who have the target chunk within their view distance.
*
* @return Player[]
* @return Player[] spl_object_id => Player
* @phpstan-return array<int, Player>
*/
public function getChunkPlayers(int $chunkX, int $chunkZ) : array{
@ -718,7 +718,7 @@ class World implements ChunkManager{
/**
* Returns an array of players who have the target position within their view distance.
*
* @return Player[]
* @return Player[] spl_object_id => Player
* @phpstan-return array<int, Player>
*/
public function getViewersForPosition(Vector3 $pos) : array{