Liquid: improve code legibility and fix a bunch of PHPStan errors

This commit is contained in:
Dylan K. Taylor
2023-10-19 17:02:22 +01:00
parent f1440324a7
commit ada37899aa
2 changed files with 19 additions and 14 deletions

View File

@ -287,7 +287,7 @@ parameters:
-
message: "#^Parameter \\#1 \\$x of method pocketmine\\\\world\\\\World\\:\\:getBlockAt\\(\\) expects int, float\\|int given\\.$#"
count: 11
count: 4
path: ../../../src/block/Liquid.php
-
@ -297,7 +297,7 @@ parameters:
-
message: "#^Parameter \\#2 \\$y of method pocketmine\\\\world\\\\World\\:\\:getBlockAt\\(\\) expects int, float\\|int given\\.$#"
count: 11
count: 4
path: ../../../src/block/Liquid.php
-
@ -307,7 +307,7 @@ parameters:
-
message: "#^Parameter \\#3 \\$z of method pocketmine\\\\world\\\\World\\:\\:getBlockAt\\(\\) expects int, float\\|int given\\.$#"
count: 11
count: 4
path: ../../../src/block/Liquid.php
-