Added missing apiContext arg

This commit is contained in:
aydiv
2013-04-25 20:39:13 +05:30
parent cbc9055e4d
commit c624834f15
4 changed files with 9 additions and 9 deletions

View File

@@ -184,7 +184,7 @@ class Refund extends Resource implements IResource {
* @param string $refundid
* @param PayPal\Rest\ApiContext $apiContext optional
*/
public static function get( $refundid) {
public static function get( $refundid, $apiContext=null) {
if (($refundid == null) || (strlen($refundid) <= 0)) {
throw new \InvalidArgumentException("refundid cannot be null or empty");
}
@@ -203,4 +203,4 @@ class Refund extends Resource implements IResource {
}
}
}