mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Added some missing typehints
This commit is contained in:
@ -67,7 +67,7 @@ class Leaves extends Transparent{
|
||||
}
|
||||
|
||||
|
||||
protected function findLog(Block $pos, array $visited, $distance, &$check, $fromSide = null) : bool{
|
||||
protected function findLog(Block $pos, array $visited, int $distance, &$check, ?int $fromSide = null) : bool{
|
||||
++$check;
|
||||
$index = $pos->x . "." . $pos->y . "." . $pos->z;
|
||||
if(isset($visited[$index])){
|
||||
|
Reference in New Issue
Block a user