mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 10:07:12 +00:00
Fix undefined index
This commit is contained in:
committed by
Mike van Riel
parent
c212334d39
commit
44e31d19a6
@@ -87,7 +87,7 @@ final class InvalidTag implements Tag
|
||||
if (isset($trace[0]['args'])) {
|
||||
$trace = array_map(
|
||||
function (array $call): array {
|
||||
$call['args'] = array_map([$this, 'flattenArguments'], $call['args']);
|
||||
$call['args'] = array_map([$this, 'flattenArguments'], $call['args'] ?? []);
|
||||
|
||||
return $call;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user