mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-08-11 22:08:42 +00:00
Merge commit '04191ec44a00dd058f5d7e9e315d451e44285494'
# Conflicts: # resources/vanilla # tests/phpstan/configs/l7-baseline.neon
This commit is contained in:
commit
921aa091e0
@ -61,6 +61,7 @@ class Rail extends BaseRail{
|
||||
}
|
||||
|
||||
protected function getPossibleConnectionDirectionsOneConstraint(int $constraint) : array{
|
||||
/** @var int[] $horizontal */
|
||||
static $horizontal = [
|
||||
Facing::NORTH,
|
||||
Facing::SOUTH,
|
||||
|
@ -355,11 +355,6 @@ parameters:
|
||||
count: 3
|
||||
path: ../../../src/block/Mycelium.php
|
||||
|
||||
-
|
||||
message: "#^Method pocketmine\\\\block\\\\Rail\\:\\:getPossibleConnectionDirectionsOneConstraint\\(\\) should return array\\<int, true\\> but returns array\\<int\\|string, true\\>\\.$#"
|
||||
count: 1
|
||||
path: ../../../src/block/Rail.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#2 \\$x of static method pocketmine\\\\world\\\\generator\\\\object\\\\Tree\\:\\:growTree\\(\\) expects int, float\\|int given\\.$#"
|
||||
count: 2
|
||||
|
Loading…
x
Reference in New Issue
Block a user