← All changes
|
vendor/payplug/payplug-php/lib/Payplug/Resource/Card.php
+2
-2
1.0.18
→
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 | } |