1
0
mirror of https://github.com/pmmp/PocketMine-MP.git synced 2025-09-23 00:13:25 +00:00
Files
.github
.idea
build
changelogs
doxygen
resources
src
tests
phpstan
configs
rules
stubs
JsonMapper.stub
chunkutils2.stub
leveldb.stub
pmmpthread.stub
DummyPluginOwned.php
analyse-for-current-php-version.neon.php
bootstrap.php
phpunit
plugins
travis.sh
tools
.editorconfig
.gitattributes
.gitignore
.gitmodules
.php-cs-fixer.php
BUILDING.md
CONTRIBUTING.md
LICENSE
README.md
SECURITY.md
composer.json
composer.lock
install-local-protocol.sh
phpstan.neon.dist
start.cmd
start.ps1
start.sh
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 {}
}