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 ab209f9 commit 8ad6024Copy full SHA for 8ad6024
source/Config.php
@@ -95,7 +95,7 @@ public static function get($key, $default = null)
95
}
96
97
for ($index += 1; $index < $count; $index++) {
98
- if (!isset($config[$keys[$index]])) {
+ if (!is_array($config) || !isset($config[$keys[$index]])) {
99
return $default;
100
101
$config = $config[$keys[$index]];
0 commit comments