qqq
This commit is contained in:
@@ -29,7 +29,7 @@ class ConfigProvider
|
|||||||
*/
|
*/
|
||||||
public function get(string $key, int|string|bool|null|array $default = null): int|string|bool|null|array
|
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));
|
$hashMap = $this->hashMap->get(array_shift($keys));
|
||||||
if (is_null($hashMap)) {
|
if (is_null($hashMap)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user