| Conditions | 2 |
| Paths | 3 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function execute($request): void |
||
| 15 | { |
||
| 16 | /** @var $request GenerateClientToken */ |
||
| 17 | RequestNotSupportedException::assertSupports($this, $request); |
||
| 18 | |||
| 19 | try { |
||
| 20 | $paymentMethodNonce = $this->api->findPaymentMethodNonce($request->getNonceString()); |
||
|
|
|||
| 21 | |||
| 22 | $request->setResponse($paymentMethodNonce); |
||
| 23 | } catch (NotFound $exception) { |
||
| 24 | return; |
||
| 25 | } |
||
| 33 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.