Total Complexity | 2 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class OrderAuthorizer implements OrderAuthorizerInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var \SprykerEco\Zed\AmazonPay\Business\Converter\AmazonPayConverterInterface |
||
18 | */ |
||
19 | protected $converter; |
||
20 | |||
21 | /** |
||
22 | * @var \SprykerEco\Zed\AmazonPay\Business\Payment\Handler\Transaction\AmazonpayTransactionInterface |
||
23 | */ |
||
24 | protected $transaction; |
||
25 | |||
26 | /** |
||
27 | * @param \SprykerEco\Zed\AmazonPay\Business\Converter\AmazonPayConverterInterface $converter |
||
28 | * @param \SprykerEco\Zed\AmazonPay\Business\Payment\Handler\Transaction\AmazonpayTransactionInterface $transaction |
||
29 | */ |
||
30 | public function __construct(AmazonPayConverterInterface $converter, AmazonpayTransactionInterface $transaction) |
||
31 | { |
||
32 | $this->converter = $converter; |
||
33 | $this->transaction = $transaction; |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer |
||
38 | * |
||
39 | * @return \Generated\Shared\Transfer\QuoteTransfer |
||
40 | */ |
||
41 | public function authorizeOrder(QuoteTransfer $quoteTransfer): QuoteTransfer |
||
49 | } |
||
50 | } |
||
51 |
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