PluginProbe
PayPlug for WooCommerce (Official) / 3.1.0
PayPlug for WooCommerce (Official) v3.1.0
3.1.0 3.0.0 2.18.0 1.0.17 1.0.18 1.0.19 1.0.20 1.0.21 1.0.22 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.1.0 1.10.0 1.10.1 1.2.1 1.2.10 1.2.11 1.2.2 1.2.3 1.2.4 1.2.5 All 102 releases
← All changes | vendor/payplug/payplug-php/lib/Payplug/Refund.php +3 -3 1.0.18 → 3.1.0 View file →
@@ -14,9 +14,9 @@
14 14 *
15 15 * @return null|Refund the refund object
16 16 * @throws Exception\ConfigurationNotSetException
17 17 */
18 - public static function create($payment, array $data = null, Payplug $payplug = null)
18 + public static function create($payment, $data = null, $payplug = null)
19 19 {
20 20 return Resource\Refund::create($payment, $data, $payplug);
21 21 }
22 22
@@ -30,9 +30,9 @@
30 30 * @return null|Resource\APIResource|Refund the refund object
31 31 *
32 32 * @throws Exception\ConfigurationNotSetException
33 33 */
34 - public static function retrieve($payment, $refundId, Payplug $payplug = null)
34 + public static function retrieve($payment, $refundId, $payplug = null)
35 35 {
36 36 return Resource\Refund::retrieve($payment, $refundId, $payplug);
37 37 }
38 38
@@ -46,9 +46,9 @@
46 46 *
47 47 * @throws Exception\ConfigurationNotSetException
48 48 * @throws Exception\UnexpectedAPIResponseException
49 49 */
50 - public static function listRefunds($payment, Payplug $payplug = null)
50 + public static function listRefunds($payment, $payplug = null)
51 51 {
52 52 return Resource\Refund::listRefunds($payment, $payplug);
53 53 }
54 54 }