mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-10 13:35:29 +00:00
Chunk: specify list<int> for heightMap
This commit is contained in:
parent
1c3b641e37
commit
b0b1b29de4
@ -109,6 +109,7 @@ class Chunk{
|
||||
* @param CompoundTag[] $entities
|
||||
* @param CompoundTag[] $tiles
|
||||
* @param int[] $heightMap
|
||||
* @phpstan-param list<int> $heightMap
|
||||
*/
|
||||
public function __construct(int $chunkX, int $chunkZ, array $subChunks = [], array $entities = [], array $tiles = [], string $biomeIds = "", array $heightMap = []){
|
||||
$this->x = $chunkX;
|
||||
|
@ -720,11 +720,6 @@ parameters:
|
||||
count: 1
|
||||
path: ../../../src/pocketmine/level/Level.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$data of static method SplFixedArray\\<mixed\\>\\:\\:fromArray\\(\\) expects array\\<int, int\\>, array\\<int\\> given\\.$#"
|
||||
count: 1
|
||||
path: ../../../src/pocketmine/level/format/Chunk.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$string of function strlen expects string, string\\|false given\\.$#"
|
||||
count: 2
|
||||
|
Loading…
x
Reference in New Issue
Block a user