Skip to content

Commit 113332a

Browse files
authored
Merge pull request #433 from smithbm2316/v3
Fix | Resolve headers with array as value
2 parents ea50417 + ed6f6dd commit 113332a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Helpers/FixtureHelper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public static function recursivelyReplaceAttributes(array $source, array $rules,
2424

2525
array_walk_recursive($source, static function (&$value, $key) use ($rules, $caseSensitiveKeys) {
2626
if ($caseSensitiveKeys === false) {
27-
$key = mb_strtolower($key);
27+
$key = mb_strtolower((string) $key);
2828
}
2929

3030
if (! array_key_exists($key, $rules)) {

0 commit comments

Comments
 (0)