mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-11 08:19:45 +00:00
Leaves: fixed phpstan type doc error
for some reason this isn't reported unless bleeding edge is enabled.
This commit is contained in:
parent
94d8f59484
commit
f45316d2d6
@ -69,7 +69,7 @@ class Leaves extends Transparent{
|
||||
|
||||
/**
|
||||
* @param true[] $visited reference parameter
|
||||
* @phpstan-param array<string, true> $visited
|
||||
* @phpstan-param array<int, true> $visited
|
||||
*/
|
||||
protected function findLog(Vector3 $pos, array &$visited = [], int $distance = 0) : bool{
|
||||
$index = World::blockHash($pos->x, $pos->y, $pos->z);
|
||||
|
Loading…
x
Reference in New Issue
Block a user