mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 15:41:33 +00:00
added native types to closures (phpstan-strict-rules)
This commit is contained in:
@@ -590,7 +590,7 @@ class Utils{
|
||||
$args = $trace[$i]["params"];
|
||||
}
|
||||
|
||||
$params = implode(", ", array_map(function($value) use($maxStringLength){
|
||||
$params = implode(", ", array_map(function($value) use($maxStringLength) : string{
|
||||
if(is_object($value)){
|
||||
return "object " . self::getNiceClassName($value);
|
||||
}
|
||||
|
Reference in New Issue
Block a user