Skip to content

Commit 2115313

Browse files
authored
Fix PHP 8.2 deprecation of "static" in callables
1 parent 6070542 commit 2115313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Utils/SchemaPrinter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ static function ($arg) : bool {
282282
return strlen($arg->description ?? '') === 0;
283283
}
284284
)) {
285-
return '(' . implode(', ', array_map('static::printInputValue', $args)) . ')';
285+
return '(' . implode(', ', array_map([static::class, 'printInputValue'], $args)) . ')';
286286
}
287287

288288
return sprintf(

0 commit comments

Comments
 (0)