Conditions | 3 |
Paths | 4 |
Total Lines | 13 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
22 | public function getData(AbstractTransfer $quoteTransfer) |
||
23 | { |
||
24 | if (!$quoteTransfer->getPayment()) { |
||
|
|||
25 | $quoteTransfer->setPayment(new PaymentTransfer()); |
||
26 | } |
||
27 | |||
28 | if ($quoteTransfer->getPayment()->getDummyMarketplacePaymentInvoice()) { |
||
29 | return $quoteTransfer; |
||
30 | } |
||
31 | |||
32 | $quoteTransfer->getPayment()->setDummyMarketplacePaymentInvoice(new DummyMarketplacePaymentTransfer()); |
||
33 | |||
34 | return $quoteTransfer; |
||
35 | } |
||
47 |
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.