From 2a910c1cc286cab793608f18881bc70f1be6aaeb Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sun, 16 Oct 2022 16:50:42 +0100 Subject: [PATCH] World: more minor documentation improvements --- src/world/World.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/world/World.php b/src/world/World.php index f8b9547eb..0071f221f 100644 --- a/src/world/World.php +++ b/src/world/World.php @@ -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 */ 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 */ public function getViewersForPosition(Vector3 $pos) : array{