Skip to content

Commit

Permalink
Fixed failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
florianv committed Feb 19, 2018
1 parent d819ba3 commit c916898
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/SwapServiceProvider.php
Expand Up @@ -200,6 +200,11 @@ public function provides()
*/
private function getServiceClass($name)
{
// WebserviceX is a special case
if ('webservicex' === $name) {
$name = 'webservice_x';
}

$camelized = ucfirst(implode('', array_map('ucfirst', explode('_', $name))));

return 'Exchanger\\Service\\'.$camelized;
Expand Down

0 comments on commit c916898

Please sign in to comment.