| @@ -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 | } |