Passed
Pull Request — dev (#9)
by Andrey
07:38 queued 03:31
created

createPaymentAmazonpayQuery()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * Apache OSL-2
5
 * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
6
 */
7
8
namespace SprykerEco\Zed\AmazonPay\Persistence;
9
10
use Orm\Zed\AmazonPay\Persistence\SpyPaymentAmazonpayQuery;
1 ignored issue
show
Bug introduced by
The type Orm\Zed\AmazonPay\Persis...pyPaymentAmazonpayQuery 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. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
11
use Orm\Zed\AmazonPay\Persistence\SpyPaymentAmazonpaySalesOrderItemQuery;
1 ignored issue
show
Bug introduced by
The type Orm\Zed\AmazonPay\Persis...npaySalesOrderItemQuery 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. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
12
use Orm\Zed\Sales\Persistence\SpySalesOrderItemQuery;
1 ignored issue
show
Bug introduced by
The type Orm\Zed\Sales\Persistence\SpySalesOrderItemQuery 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. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
13
use Spryker\Zed\Kernel\Persistence\AbstractPersistenceFactory;
14
15
/**
16
 * @method \SprykerEco\Shared\AmazonPay\AmazonPayConfig getConfig()
17
 * @method \SprykerEco\Zed\AmazonPay\Persistence\AmazonPayQueryContainer getQueryContainer()
18
 */
19
class AmazonPayPersistenceFactory extends AbstractPersistenceFactory
20
{
21
    /**
22
     * @return \Orm\Zed\AmazonPay\Persistence\SpyPaymentAmazonpayQuery
23
     */
24
    public function createPaymentAmazonpayQuery()
25
    {
26
        return SpyPaymentAmazonpayQuery::create();
27
    }
28
29
    /**
30
     * @return \Orm\Zed\AmazonPay\Persistence\SpyPaymentAmazonpaySalesOrderItemQuery
31
     */
32
    public function createPaymentAmazonpaySalesOrderItemQuery()
33
    {
34
        return SpyPaymentAmazonpaySalesOrderItemQuery::create();
35
    }
36
37
    /**
38
     * @return \Orm\Zed\Sales\Persistence\SpySalesOrderItemQuery
39
     */
40
    public function createSalesOrderItemQuery()
41
    {
42
        return SpySalesOrderItemQuery::create();
43
    }
44
}
45