Facing and Axis to enum #192
Annotations
11 errors
|
Run PHPStan:
src/AxisAlignedBB.php#L460
Invalid array key type pocketmine\math\Facing::WEST.
|
Run PHPStan:
src/AxisAlignedBB.php#L461
Invalid array key type pocketmine\math\Facing::EAST.
|
Run PHPStan:
src/AxisAlignedBB.php#L462
Invalid array key type pocketmine\math\Facing::DOWN.
|
Run PHPStan:
src/AxisAlignedBB.php#L463
Invalid array key type pocketmine\math\Facing::UP.
|
Run PHPStan:
src/AxisAlignedBB.php#L464
Invalid array key type pocketmine\math\Facing::NORTH.
|
Run PHPStan:
src/AxisAlignedBB.php#L465
Invalid array key type pocketmine\math\Facing::SOUTH.
|
Run PHPStan:
src/AxisAlignedBB.php#L478
Parameter #2 $hitFace of class pocketmine\math\RayTraceResult constructor expects pocketmine\math\Facing, (int|string) given.
|
Run PHPStan:
src/Facing.php#L52
Method pocketmine\math\Facing::offset() return type has no value type specified in iterable type array.
|
Run PHPStan:
src/Facing.php#L89
Match expression does not handle remaining values: pocketmine\math\Facing::DOWN|pocketmine\math\Facing::UP
|
Run PHPStan:
src/Facing.php#L95
Match expression does not handle remaining values: pocketmine\math\Facing::NORTH|pocketmine\math\Facing::SOUTH
|
Loading