Skip to content

Commit 44e31d1

Browse files
villfamvriel
authored andcommitted
Fix undefined index
1 parent c212334 commit 44e31d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DocBlock/Tags/InvalidTag.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ private function flattenExceptionBacktrace(Throwable $exception): void
8787
if (isset($trace[0]['args'])) {
8888
$trace = array_map(
8989
function (array $call): array {
90-
$call['args'] = array_map([$this, 'flattenArguments'], $call['args']);
90+
$call['args'] = array_map([$this, 'flattenArguments'], $call['args'] ?? []);
9191

9292
return $call;
9393
},

0 commit comments

Comments
 (0)