fill in more iterable types (master)

This commit is contained in:
Dylan K. Taylor
2020-02-01 20:19:57 +00:00
parent 200209b76c
commit ff63f6d055
26 changed files with 121 additions and 3 deletions

View File

@ -837,6 +837,9 @@ class Player extends Human implements CommandSender, ChunkLoader, ChunkListener,
}
}
/**
* @return \Generator<int, int, void, void>
*/
protected function selectChunks() : \Generator{
$radius = $this->server->getAllowedViewDistance($this->viewDistance);
$radiusSquared = $radius ** 2;
@ -2007,6 +2010,9 @@ class Player extends Human implements CommandSender, ChunkLoader, ChunkListener,
parent::destroyCycles();
}
/**
* @return mixed[]
*/
public function __debugInfo() : array{
return [];
}