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\Service\CrefoPay; |
||
9 | |||
10 | use Generated\Shared\Transfer\ItemTransfer; |
||
0 ignored issues
–
show
|
|||
11 | use Generated\Shared\Transfer\QuoteTransfer; |
||
0 ignored issues
–
show
The type
Generated\Shared\Transfer\QuoteTransfer was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths
Loading history...
|
|||
12 | use Spryker\Service\Kernel\AbstractService; |
||
13 | |||
14 | /** |
||
15 | * @method \SprykerEco\Service\CrefoPay\CrefoPayServiceFactory getFactory() |
||
16 | */ |
||
17 | class CrefoPayService extends AbstractService implements CrefoPayServiceInterface |
||
18 | { |
||
19 | /** |
||
20 | * {@inheritDoc} |
||
21 | * |
||
22 | * @api |
||
23 | * |
||
24 | * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer |
||
25 | * |
||
26 | * @return string |
||
27 | */ |
||
28 | public function generateCrefoPayOrderId(QuoteTransfer $quoteTransfer): string |
||
29 | { |
||
30 | return $this->getFactory() |
||
31 | ->createUniqueIdGenerator() |
||
32 | ->generateCrefoPayOrderId($quoteTransfer); |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * {@inheritDoc} |
||
37 | * |
||
38 | * @api |
||
39 | * |
||
40 | * @param \Generated\Shared\Transfer\ItemTransfer $itemTransfer |
||
41 | * |
||
42 | * @return string |
||
43 | */ |
||
44 | public function generateCrefoPayBasketItemId(ItemTransfer $itemTransfer): string |
||
45 | { |
||
46 | return $this->getFactory() |
||
47 | ->createUniqueIdGenerator() |
||
48 | ->generateBasketItemId($itemTransfer); |
||
49 | } |
||
50 | |||
51 | /** |
||
52 | * {@inheritDoc} |
||
53 | * |
||
54 | * @api |
||
55 | * |
||
56 | * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer |
||
57 | * |
||
58 | * @return string |
||
59 | */ |
||
60 | public function generateCrefoPayUserId(QuoteTransfer $quoteTransfer): string |
||
61 | { |
||
62 | return $this->getFactory() |
||
63 | ->createCrefoPayUserIdGenerator() |
||
64 | ->generateUserId($quoteTransfer); |
||
65 | } |
||
66 | } |
||
67 |
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