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/Resource/Card.php +2 -2 1.0.19 → 3.1.0 View file →
@@ -30,9 +30,9 @@
30 30 * @return Card the deleted card or null on error
31 31 *
32 32 * @throws Payplug\Exception\ConfigurationNotSetException
33 33 */
34 - public static function deleteCard($card, Payplug\Payplug $payplug = null)
34 + public static function deleteCard($card, $payplug = null)
35 35 {
36 36 if ($payplug === null) {
37 37 $payplug = Payplug\Payplug::getDefaultConfiguration();
38 38 }
@@ -53,9 +53,9 @@
53 53 * @param Payplug\Payplug $payplug the client configuration
54 54 *
55 55 * @throws Payplug\Exception\ConfigurationNotSetException
56 56 */
57 - public function delete(Payplug\Payplug $payplug = null)
57 + public function delete($payplug = null)
58 58 {
59 59 self::deleteCard($this->id, $payplug);
60 60 }
61 61 }