mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
World: make PhpStorm understand return type of getAdjacentChunks()
This commit is contained in:
parent
1873457840
commit
51fbff204b
@ -2091,7 +2091,7 @@ class World implements ChunkManager{
|
||||
/**
|
||||
* Returns the chunks adjacent to the specified chunk.
|
||||
*
|
||||
* @return (Chunk|null)[]
|
||||
* @return Chunk[]|null[]
|
||||
*/
|
||||
public function getAdjacentChunks(int $x, int $z) : array{
|
||||
$result = [];
|
||||
|
@ -35,8 +35,6 @@ use function array_map;
|
||||
use function igbinary_serialize;
|
||||
use function igbinary_unserialize;
|
||||
use function intdiv;
|
||||
use function is_array;
|
||||
use function is_string;
|
||||
|
||||
class PopulationTask extends AsyncTask{
|
||||
private const TLS_KEY_WORLD = "world";
|
||||
|
Loading…
x
Reference in New Issue
Block a user