From 8fb83be97ceed9c94c4a2f492ff9ce1c8254c077 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Mon, 27 Jan 2020 17:09:11 +0300 Subject: [PATCH] Fixed: Undefined variable: value --- src/Concerns/HasCases.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Concerns/HasCases.php b/src/Concerns/HasCases.php index ea72ec3..db18ad7 100644 --- a/src/Concerns/HasCases.php +++ b/src/Concerns/HasCases.php @@ -31,7 +31,7 @@ protected function convertKeysCase(array &$array): void $result = []; - foreach ($array as $key => $item) { + foreach ($array as $key => $value) { $key = $this->convertKeyCase($key); $result[$key] = $value;