PHP 7.4 fix - Ensure the existence of the 'args' key.

This commit is contained in:
Pol Dellaiera
2020-02-10 11:19:17 +01:00
parent a48807183a
commit e6166a8b40
+1
View File
@@ -104,6 +104,7 @@ final class InvalidTag implements Tag
do {
$trace = array_map(
static function (array $call) use ($flatten) : array {
$call += ['args' => []];
array_walk_recursive($call['args'], $flatten);
return $call;