mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +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:
@ -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);
|
||||
|
Reference in New Issue
Block a user