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