| Total Complexity | 3 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class AvailablePaymentMethodsStep implements AvailablePaymentMethodsStepInterface |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var \SprykerEco\Client\Afterpay\AfterpayClientInterface |
||
| 18 | */ |
||
| 19 | protected $afterpayClient; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param \SprykerEco\Client\Afterpay\AfterpayClientInterface $afterpayClient |
||
| 23 | */ |
||
| 24 | public function __construct(AfterpayClientInterface $afterpayClient) |
||
| 25 | { |
||
| 26 | $this->afterpayClient = $afterpayClient; |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer |
||
| 31 | * |
||
| 32 | * @return \Generated\Shared\Transfer\AfterpayAvailablePaymentMethodsTransfer |
||
| 33 | */ |
||
| 34 | public function getAvailablePaymentMethods(QuoteTransfer $quoteTransfer): AfterpayAvailablePaymentMethodsTransfer |
||
| 35 | { |
||
| 36 | $this->setAvailablePaymentMethodsToQuote($quoteTransfer); |
||
| 37 | |||
| 38 | return $quoteTransfer->getAfterpayAvailablePaymentMethods(); |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer |
||
| 43 | * |
||
| 44 | * @return void |
||
| 45 | */ |
||
| 46 | protected function setAvailablePaymentMethodsToQuote(QuoteTransfer $quoteTransfer): void |
||
| 50 | } |
||
| 51 | } |
||
| 52 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths