Skip to content

Commit 75c0f4f

Browse files
authored
Merge pull request phpclassic#191 from TonyDeStefano/patch-1
calculate() takes an optional array as a parameter.
2 parents a233b8d + 9f47fb1 commit 75c0f4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Refund.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* --------------------------------------------------------------------------
1515
* Refund -> Custom actions
1616
* --------------------------------------------------------------------------
17-
* @method array calculate() Calculate a Refund.
17+
* @method array calculate(array $calculation = null) Calculate a Refund.
1818
*
1919
*/
2020
class Refund extends ShopifyResource
@@ -30,4 +30,4 @@ class Refund extends ShopifyResource
3030
protected $customPostActions = array (
3131
'calculate',
3232
);
33-
}
33+
}

0 commit comments

Comments
 (0)