Passed
Push — feature/eco-574/eco-2266-check... ( 8cf5ab...290cb9 )
by Aleksey
05:34
created

createSalesOrderQuery()   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
 * 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\AfterPay\Persistence;
9
10
use Orm\Zed\AfterPay\Persistence\SpyPaymentAfterPayAuthorizationQuery;
0 ignored issues
show
Bug introduced by
The type Orm\Zed\AfterPay\Persist...erPayAuthorizationQuery 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\AfterPay\Persistence\SpyPaymentAfterPayOrderItemQuery;
0 ignored issues
show
Bug introduced by
The type Orm\Zed\AfterPay\Persist...tAfterPayOrderItemQuery 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\AfterPay\Persistence\SpyPaymentAfterPayQuery;
0 ignored issues
show
Bug introduced by
The type Orm\Zed\AfterPay\Persist...SpyPaymentAfterPayQuery 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 Orm\Zed\AfterPay\Persistence\SpyPaymentAfterPayTransactionLogQuery;
0 ignored issues
show
Bug introduced by
The type Orm\Zed\AfterPay\Persist...rPayTransactionLogQuery 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...
14
use Orm\Zed\Sales\Persistence\SpySalesOrderQuery;
0 ignored issues
show
Bug introduced by
The type Orm\Zed\Sales\Persistence\SpySalesOrderQuery 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...
15
use Spryker\Zed\Kernel\Persistence\AbstractPersistenceFactory;
16
17
/**
18
 * @method \SprykerEco\Zed\AfterPay\AfterPayConfig getConfig()
19
 * @method \SprykerEco\Zed\AfterPay\Persistence\AfterPayQueryContainerInterface getQueryContainer()
20
 */
21
class AfterPayPersistenceFactory extends AbstractPersistenceFactory
22
{
23
    /**
24
     * @return \Orm\Zed\AfterPay\Persistence\SpyPaymentAfterPayQuery
25
     */
26
    public function createPaymentAfterPayQuery(): SpyPaymentAfterPayQuery
27
    {
28
        return SpyPaymentAfterPayQuery::create();
29
    }
30
31
    /**
32
     * @return \Orm\Zed\AfterPay\Persistence\SpyPaymentAfterPayOrderItemQuery
33
     */
34
    public function createPaymentAfterPayOrderItemQuery(): SpyPaymentAfterPayOrderItemQuery
35
    {
36
        return SpyPaymentAfterPayOrderItemQuery::create();
37
    }
38
39
    /**
40
     * @return \Orm\Zed\AfterPay\Persistence\SpyPaymentAfterPayTransactionLogQuery
41
     */
42
    public function createPaymentAfterPayTransactionLogQuery(): SpyPaymentAfterPayTransactionLogQuery
43
    {
44
        return SpyPaymentAfterPayTransactionLogQuery::create();
45
    }
46
47
    /**
48
     * @return \Orm\Zed\AfterPay\Persistence\SpyPaymentAfterPayAuthorizationQuery
49
     */
50
    public function createPaymentAfterPayAuthorizationQuery(): SpyPaymentAfterPayAuthorizationQuery
51
    {
52
        return SpyPaymentAfterPayAuthorizationQuery::create();
53
    }
54
55
    /**
56
     * @return \Orm\Zed\Sales\Persistence\SpySalesOrderQuery
57
     */
58
    public function createSalesOrderQuery(): SpySalesOrderQuery
59
    {
60
        return SpySalesOrderQuery::create();
61
    }
62
}
63