Skip to content

Commit

Permalink
Merge pull request #28 from riccardonar/master
Browse files Browse the repository at this point in the history
Merge commits
  • Loading branch information
goetas authored Aug 2, 2018
2 parents 049195e + 00594ba commit 746570a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ protected function findOperation($functionName, array $serviceDefinition)
return $serviceDefinition['operations'][$functionName];
}

foreach ($serviceDefinition['operations'] as $opName => $operation) {
if (strtolower($functionName) == strtolower($opName)) {
foreach ($serviceDefinition['operations'] as $operation) {
if (strtolower($functionName) == strtolower($operation['method'])) {
return $operation;
}
}
Expand Down

0 comments on commit 746570a

Please sign in to comment.