Skip to content

Commit

Permalink
Typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Mar 22, 2019
1 parent 639d1cd commit 3b45585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EasySms.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ protected function createGateway($name)
}

if (!($gateway instanceof GatewayInterface)) {
throw new InvalidArgumentException(\sprintf('Gateway "%s" must be inherit from %s.', $name, GatewayInterface::class));
throw new InvalidArgumentException(\sprintf('Gateway "%s" must implement interface %s.', $name, GatewayInterface::class));
}

return $gateway;
Expand Down

0 comments on commit 3b45585

Please sign in to comment.