mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
ChunkUtils: provide a more explicit parameter type
This commit is contained in:
parent
8dcc88712c
commit
f3063e797f
@ -98,7 +98,7 @@ if(!extension_loaded('pocketmine_chunkutils')){
|
||||
* Converts pre-MCPE-1.0 biome color array to biome ID array.
|
||||
*
|
||||
* @param int[] $array of biome color values
|
||||
* @phpstan-param array<int, int> $array
|
||||
* @phpstan-param list<int> $array
|
||||
*/
|
||||
public static function convertBiomeColors(array $array) : string{
|
||||
$result = str_repeat("\x00", 256);
|
||||
|
Loading…
x
Reference in New Issue
Block a user