From bc7cf637a6c158e82934e77149d65f470d74a828 Mon Sep 17 00:00:00 2001 From: crny Date: Tue, 6 Mar 2018 11:28:25 +0800 Subject: [PATCH] extend gateway config (#86) --- src/EasySms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EasySms.php b/src/EasySms.php index 32b5b9d..6430111 100644 --- a/src/EasySms.php +++ b/src/EasySms.php @@ -260,6 +260,6 @@ class EasySms */ protected function callCustomCreator($gateway) { - return call_user_func($this->customCreators[$gateway], $this->config->get($gateway, [])); + return call_user_func($this->customCreators[$gateway], $this->config->get("gateways.{$gateway}", [])); } } -- GitLab