Skip to content

Fix PHPStan

Fix PHPStan #1157

Triggered via push July 19, 2023 10:16
Status Failure
Total duration 2m 36s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

main.yml

on: push
Code Style checks
1m 16s
Code Style checks
Matrix: Generated Code consistency checks
Matrix: Integration tests
Matrix: PHPStan analysis
Matrix: PHPUnit tests
Fit to window
Zoom out
Zoom in

Annotations

6 errors
PHPStan analysis (ubuntu-20.04, 8.1): src/world/World.php#L854
Property pocketmine\world\World::$packetBuffersByChunk (array<int, array<int, array<int, pocketmine\network\mcpe\protocol\ClientboundPacket>>>) does not accept array<int, array<int|string, array<int, pocketmine\network\mcpe\protocol\ClientboundPacket>>>.
PHPStan analysis (ubuntu-20.04, 8.1): src/world/World.php#L856
Property pocketmine\world\World::$packetBuffersByChunk (array<int, array<int, array<int, pocketmine\network\mcpe\protocol\ClientboundPacket>>>) does not accept array<int, array<int|string, array<int, pocketmine\network\mcpe\protocol\ClientboundPacket>>>.
PHPStan analysis (ubuntu-20.04, 8.1)
Process completed with exit code 1.
PHPStan analysis (ubuntu-20.04, 8.2): src/world/World.php#L854
Property pocketmine\world\World::$packetBuffersByChunk (array<int, array<int, array<int, pocketmine\network\mcpe\protocol\ClientboundPacket>>>) does not accept array<int, array<int|string, array<int, pocketmine\network\mcpe\protocol\ClientboundPacket>>>.
PHPStan analysis (ubuntu-20.04, 8.2): src/world/World.php#L856
Property pocketmine\world\World::$packetBuffersByChunk (array<int, array<int, array<int, pocketmine\network\mcpe\protocol\ClientboundPacket>>>) does not accept array<int, array<int|string, array<int, pocketmine\network\mcpe\protocol\ClientboundPacket>>>.
PHPStan analysis (ubuntu-20.04, 8.2)
Process completed with exit code 1.