Skip to content

Commit e6166a8

Browse files
committed
PHP 7.4 fix - Ensure the existence of the 'args' key.
1 parent a488071 commit e6166a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/DocBlock/Tags/InvalidTag.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ static function (&$value) : void {
104104
do {
105105
$trace = array_map(
106106
static function (array $call) use ($flatten) : array {
107+
$call += ['args' => []];
107108
array_walk_recursive($call['args'], $flatten);
108109

109110
return $call;

0 commit comments

Comments
 (0)