@@ -57,9 +57,9 @@ discard block |
||
57 | 57 | * @param PaymentInstrumentInterface $paymentInstrument |
58 | 58 | * @return bool |
59 | 59 | */ |
60 | - public function disable(PaymentInstrumentInterface $paymentInstrument):?bool |
|
60 | + public function disable(PaymentInstrumentInterface $paymentInstrument): ?bool |
|
61 | 61 | { |
62 | - $uri = $this->getEndPoint().'/'.$paymentInstrument->getToken(); |
|
62 | + $uri = $this->getEndPoint() . '/' . $paymentInstrument->getToken(); |
|
63 | 63 | |
64 | 64 | return $this->request('delete', $paymentInstrument, $uri); |
65 | 65 | } |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | */ |
128 | 128 | function getEndPoint(): string |
129 | 129 | { |
130 | - return 'customers/'.$this->customer->getCustomerId().'/payment-instruments'; |
|
130 | + return 'customers/' . $this->customer->getCustomerId() . '/payment-instruments'; |
|
131 | 131 | } |
132 | 132 | |
133 | 133 | /** |
@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | /** |
145 | 145 | * @return AccessToken |
146 | 146 | */ |
147 | - function getToken():? AccessToken |
|
147 | + function getToken(): ? AccessToken |
|
148 | 148 | { |
149 | 149 | return $this->token; |
150 | 150 | } |