|
@@ -28,7 +28,7 @@ class Config
|
|
|
getConfig as traitGetConfig;
|
|
getConfig as traitGetConfig;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- public function getConfig(string $key = null, mixed $default = null): mixed
|
|
|
|
|
|
|
+ public function getConfig(?string $key = null, mixed $default = null): mixed
|
|
|
{
|
|
{
|
|
|
if ($key == 'merchant_no') {
|
|
if ($key == 'merchant_no') {
|
|
|
return $this->getConfig('sub_merchant_list')[0]['merchant_no'];
|
|
return $this->getConfig('sub_merchant_list')[0]['merchant_no'];
|