Skip to content

Commit 729c806

Browse files
author
Joaquin Rivera Padron
committed
exchanging parameters service_id and usage in authorize* methods signature to maintain backwards compatibility
1 parent a601ea1 commit 729c806

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/ThreeScaleClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function getHost() {
9393
* ?>
9494
* </code>
9595
*/
96-
public function authorize($appId, $appKey = null, $usage = null, $serviceId = null) {
96+
public function authorize($appId, $appKey = null, $serviceId = null, $usage = null) {
9797
$url = "http://" . $this->getHost() . "/transactions/authorize.xml";
9898
$params = array('provider_key' => $this->getProviderKey(), 'app_id' => $appId);
9999

0 commit comments

Comments
 (0)