← All changes
|
vendor/payplug/payplug-php/lib/Payplug/InstallmentPlan.php
+3
-3
1.2.5
→
3.1.0
View file →
| @@ -15,9 +15,9 @@ | ||
| 15 | 15 | * @return null|Resource\InstallmentPlan the retrieved installment plan or null on error |
| 16 | 16 | * |
| 17 | 17 | * @throws Exception\ConfigurationNotSetException |
| 18 | 18 | */ |
| 19 | - public static function retrieve($installmentPlanId, Payplug $payplug = null) | |
| 19 | + public static function retrieve($installmentPlanId, $payplug = null) | |
| 20 | 20 | { |
| 21 | 21 | return Resource\InstallmentPlan::retrieve($installmentPlanId, $payplug); |
| 22 | 22 | } |
| 23 | 23 | |
| @@ -30,9 +30,9 @@ | ||
| 30 | 30 | * @return null|Resource\InstallmentPlan the aborted installment plan or null on error |
| 31 | 31 | * |
| 32 | 32 | * @throws Exception\ConfigurationNotSetException |
| 33 | 33 | */ |
| 34 | - public static function abort($installmentPlanId, Payplug $payplug = null) | |
| 34 | + public static function abort($installmentPlanId, $payplug = null) | |
| 35 | 35 | { |
| 36 | 36 | $installmentPlan = Resource\InstallmentPlan::fromAttributes(array('id' => $installmentPlanId)); |
| 37 | 37 | return $installmentPlan->abort($payplug); |
| 38 | 38 | } |
| @@ -46,9 +46,9 @@ | ||
| 46 | 46 | * @return null|Resource\InstallmentPlan the created payment instance |
| 47 | 47 | * |
| 48 | 48 | * @throws Exception\ConfigurationNotSetException |
| 49 | 49 | */ |
| 50 | - public static function create(array $data, Payplug $payplug = null) | |
| 50 | + public static function create(array $data, $payplug = null) | |
| 51 | 51 | { |
| 52 | 52 | return Resource\InstallmentPlan::create($data, $payplug); |
| 53 | 53 | } |
| 54 | 54 | }; |