mirror of
https://gitee.com/yansongda/pay.git
synced 2024-11-30 11:17:43 +08:00
i
This commit is contained in:
parent
fc4315aeba
commit
bc003ebb60
@ -48,7 +48,7 @@ class Pay
|
||||
*/
|
||||
public function driver($driver)
|
||||
{
|
||||
if (! is_null($this->config->get($driver)) {
|
||||
if (is_null($this->config->get($driver)) {
|
||||
throw new InvalidArgumentException("Driver [$driver]'s Config is not defined.");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user