0
0
mirror of https://github.com/pmmp/PocketMine-MP.git synced 2025-02-24 18:58:51 +00:00
PocketMine-MP/tests/phpstan/stubs/chunkutils2.stub
Dylan K. Taylor 5e0f03dff0 Stub PalettedBlockArray functions that work with arrays
and workaround PHPStan stupidity
2025-01-08 01:48:15 +00:00

16 lines
324 B
Plaintext

<?php
namespace pocketmine\world\format;
final class PalettedBlockArray{
/**
* @param list<int> $palette
*/
public static function fromData(int $bitsPerBlock, string $wordArray, array $palette): PalettedBlockArray {}
/**
* @return list<int>
*/
public function getPalette(): array {}
}