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/InstallmentPlan.php +3 -3 1.0.20 → 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 };