createPaymentComputopNotificationQuery()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * MIT License
5
 * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
6
 */
7
8
namespace SprykerEco\Zed\Computop\Persistence;
9
10
use Orm\Zed\Computop\Persistence\SpyPaymentComputopNotificationQuery;
0 ignored issues
show
Bug introduced by
The type Orm\Zed\Computop\Persist...mputopNotificationQuery 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\Computop\Persistence\SpyPaymentComputopOrderItemQuery;
0 ignored issues
show
Bug introduced by
The type Orm\Zed\Computop\Persist...tComputopOrderItemQuery 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\Computop\Persistence\SpyPaymentComputopQuery;
0 ignored issues
show
Bug introduced by
The type Orm\Zed\Computop\Persist...SpyPaymentComputopQuery 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\Sales\Persistence\SpySalesOrderItemQuery;
0 ignored issues
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...
14
use Spryker\Zed\Kernel\Persistence\AbstractPersistenceFactory;
15
16
/**
17
 * @method \SprykerEco\Zed\Computop\ComputopConfig getConfig()
18
 * @method \SprykerEco\Zed\Computop\Persistence\ComputopQueryContainerInterface getQueryContainer()
19
 * @method \SprykerEco\Zed\Computop\Persistence\ComputopEntityManagerInterface getEntityManager()
20
 */
21
class ComputopPersistenceFactory extends AbstractPersistenceFactory
22
{
23
    /**
24
     * @return \Orm\Zed\Computop\Persistence\SpyPaymentComputopQuery
25
     */
26
    public function createPaymentComputopQuery()
27
    {
28
        return SpyPaymentComputopQuery::create();
29
    }
30
31
    /**
32
     * @return \Orm\Zed\Computop\Persistence\SpyPaymentComputopOrderItemQuery
33
     */
34
    public function createPaymentComputopOrderItemQuery()
35
    {
36
        return SpyPaymentComputopOrderItemQuery::create();
37
    }
38
39
    /**
40
     * @return \Orm\Zed\Sales\Persistence\SpySalesOrderItemQuery
41
     */
42
    public function createSpySalesOrderItemQuery()
43
    {
44
        return SpySalesOrderItemQuery::create();
45
    }
46
47
    /**
48
     * @return \Orm\Zed\Computop\Persistence\SpyPaymentComputopNotificationQuery
49
     */
50
    public function createPaymentComputopNotificationQuery(): SpyPaymentComputopNotificationQuery
51
    {
52
        return SpyPaymentComputopNotificationQuery::create();
53
    }
54
}
55