Facing and Axis to enum #193
Annotations
6 errors and 1 warning
Run PHPStan:
src/AxisAlignedBB.php#L479
Parameter #2 $hitFace of class pocketmine\math\RayTraceResult constructor expects pocketmine\math\Facing, int|pocketmine\math\Facing::DOWN|pocketmine\math\Facing::EAST|pocketmine\math\Facing::NORTH|pocketmine\math\Facing::SOUTH|pocketmine\math\Facing::UP|pocketmine\math\Facing::WEST given.
|
Run PHPStan:
src/Vector3.php#L178
Generator expects key type pocketmine\math\Facing, int given.
|
Run PHPStan:
src/Vector3.php#L178
Generator expects value type pocketmine\math\Vector3, array<int, pocketmine\math\Facing::DOWN|pocketmine\math\Facing::EAST|pocketmine\math\Facing::NORTH|pocketmine\math\Facing::SOUTH|pocketmine\math\Facing::UP|pocketmine\math\Facing::WEST|pocketmine\math\Vector3> given.
|
Run PHPStan:
src/Vector3.php#L200
Generator expects key type pocketmine\math\Facing, int given.
|
Run PHPStan:
src/Vector3.php#L200
Generator expects value type pocketmine\math\Vector3, array<int, pocketmine\math\Facing::DOWN|pocketmine\math\Facing::EAST|pocketmine\math\Facing::NORTH|pocketmine\math\Facing::SOUTH|pocketmine\math\Facing::UP|pocketmine\math\Facing::WEST|pocketmine\math\Vector3> given.
|
Run PHPStan
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading