Skip to content

Commit

Permalink
Fixed #167
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Mar 25, 2019
1 parent 2c75ea9 commit b57b9fa
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/EasySms.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,6 @@ protected function makeGateway($gateway, $config)
*/
protected function formatGatewayClassName($name)
{
if (\class_exists($name)) {
return $name;
}

$name = \ucfirst(\str_replace(['-', '_', ''], '', $name));

return __NAMESPACE__."\\Gateways\\{$name}Gateway";
Expand Down

0 comments on commit b57b9fa

Please sign in to comment.