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 e861665 commit f599229Copy full SHA for f599229
src/Concerns/HasCases.php
@@ -31,11 +31,11 @@ protected function convertKeysCase(array &$array): void
31
32
$result = [];
33
34
- array_walk($array, function ($value, $key) use (&$result) {
+ foreach ($array as $key => $item) {
35
$key = $this->convertKeyCase($key);
36
37
$result[$key] = $value;
38
- });
+ }
39
40
$array = $result;
41
}
0 commit comments