This commit is contained in:
xl
2023-05-26 10:39:31 +08:00
parent 13cc75765b
commit 37bbb14fdb
+1 -1
View File
@@ -29,7 +29,7 @@ class ConfigProvider
*/
public function get(string $key, int|string|bool|null|array $default = null): int|string|bool|null|array
{
$keys = explode($key, '.');
$keys = explode('.', $key);
$hashMap = $this->hashMap->get(array_shift($keys));
if (is_null($hashMap)) {