ChunkUtils: provide a more explicit parameter type

This commit is contained in:
Dylan K. Taylor 2020-06-15 23:05:52 +01:00
parent 8dcc88712c
commit f3063e797f

View File

@ -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);