fix phpstan

This commit is contained in:
Dylan K. Taylor
2022-05-13 21:03:49 +01:00
parent 4430f6c5fd
commit 2f2ffe0aa4
3 changed files with 3 additions and 4 deletions

View File

@ -52,7 +52,7 @@ class BlockStateUpgraderTest extends TestCase{
}
private function getNewSchemaVersion(int $versionId) : BlockStateUpgradeSchema{
$schema = new BlockStateUpgradeSchema(($versionId >> 24) & 0xff, ($versionId >> 16) & 0xff, ($versionId >> 8) & 0xff, $versionId & 0xff);
$schema = new BlockStateUpgradeSchema(($versionId >> 24) & 0xff, ($versionId >> 16) & 0xff, ($versionId >> 8) & 0xff, $versionId & 0xff, 0);
$this->upgrader->addSchema($schema);
return $schema;
}