1 | <?php |
||
2 | |||
3 | /** |
||
4 | * MIT License |
||
5 | * For full license information, please view the LICENSE file that was distributed with this source code. |
||
6 | */ |
||
7 | |||
8 | namespace SprykerEco\Zed\CrefoPay\Dependency\Facade; |
||
9 | |||
10 | use Generated\Shared\Transfer\OmsCheckConditionsQueryCriteriaTransfer; |
||
0 ignored issues
–
show
|
|||
11 | |||
12 | class CrefoPayToOmsFacadeBridge implements CrefoPayToOmsFacadeInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var \Spryker\Zed\Oms\Business\OmsFacadeInterface |
||
16 | */ |
||
17 | protected $omsFacade; |
||
18 | |||
19 | /** |
||
20 | * @param \Spryker\Zed\Oms\Business\OmsFacadeInterface $omsFacade |
||
21 | */ |
||
22 | public function __construct($omsFacade) |
||
23 | { |
||
24 | $this->omsFacade = $omsFacade; |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @param array $logContext |
||
29 | * @param \Generated\Shared\Transfer\OmsCheckConditionsQueryCriteriaTransfer|null $omsCheckConditionsQueryCriteriaTransfer |
||
30 | * |
||
31 | * @return int |
||
32 | */ |
||
33 | public function checkConditions(array $logContext = [], ?OmsCheckConditionsQueryCriteriaTransfer $omsCheckConditionsQueryCriteriaTransfer = null): int |
||
34 | { |
||
35 | return $this->omsFacade->checkConditions($logContext); |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @param string $eventId |
||
40 | * @param array $orderItemIds |
||
41 | * @param array $data |
||
42 | * |
||
43 | * @return array|null |
||
44 | */ |
||
45 | public function triggerEventForOrderItems($eventId, array $orderItemIds, array $data = []): ?array |
||
46 | { |
||
47 | return $this->omsFacade->triggerEventForOrderItems($eventId, $orderItemIds, $data); |
||
48 | } |
||
49 | } |
||
50 |
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