fix: typo

This commit is contained in:
Guillermo Pages
2021-08-30 17:53:18 +02:00
parent 3702d526bd
commit 85ecae5365

View File

@@ -155,7 +155,7 @@ class Configuration {
{ {
foreach ($keys as $k) { foreach ($keys as $k) {
if (!is_array($data)) { if (!is_array($data)) {
throw new \Exception("Try to access non-array as array, key '$key''"); throw new \Exception("Try to access non-array as array, key '$k''");
} }
if (!isset($data[$k])) { if (!isset($data[$k])) {
return $default; return $default;