This commit is contained in:
yansongda 2017-08-10 11:03:02 +08:00
parent fc4315aeba
commit bc003ebb60

View File

@ -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.");
}