mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
ChunkUtils: fixed phpstan level 7 type inference error
This commit is contained in:
@ -98,6 +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
|
||||
*/
|
||||
public static function convertBiomeColors(array $array) : string{
|
||||
$result = str_repeat("\x00", 256);
|
||||
|
Reference in New Issue
Block a user