phpstan 1.8.3

This commit is contained in:
Dylan K. Taylor
2022-09-02 18:28:33 +01:00
parent 1d253bc8c2
commit 85678aa356
7 changed files with 30 additions and 72 deletions

View File

@ -69,7 +69,6 @@ class Lever extends Flowable{
5 => LeverFacing::UP_AXIS_Z(),
6 => LeverFacing::UP_AXIS_X(),
7 => LeverFacing::DOWN_AXIS_Z(),
default => throw new AssumptionFailedError("0x07 mask should make this impossible"), //phpstan doesn't understand :(
};
$this->activated = ($stateMeta & BlockLegacyMetadata::LEVER_FLAG_POWERED) !== 0;