We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61ebaef commit 2dc3b6bCopy full SHA for 2dc3b6b
src/AnonymizesAttributes.php
@@ -71,7 +71,13 @@ protected function addAnonymizedAttributesToArray(array $attributes): array
71
continue;
72
}
73
74
- $attributes[$key] = $value;
+ if (! is_array($attributes[$key])) {
75
+ $attributes[$key] = $value;
76
+
77
+ continue;
78
+ }
79
80
+ $attributes[$key] = $this->addAnonymizedAttributesToArray($value) + $attributes[$key];
81
82
83
return $attributes;
0 commit comments