ArvatoRssQueryContainer   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 13
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A queryApiLogByOrderReferenceAndType() 0 3 1
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\ArvatoRss\Persistence;
9
10
use Spryker\Zed\Kernel\Persistence\AbstractQueryContainer;
11
12
/**
13
 * @deprecated Use `\SprykerEco\Zed\ArvatoRss\Persistence\ArvatoRssRepositoryInterface` instead.
14
 *
15
 * @method \SprykerEco\Zed\ArvatoRss\Persistence\ArvatoRssPersistenceFactory getFactory()
16
 */
17
class ArvatoRssQueryContainer extends AbstractQueryContainer implements ArvatoRssQueryContainerInterface
0 ignored issues
show
Deprecated Code introduced by
The interface SprykerEco\Zed\ArvatoRss...QueryContainerInterface has been deprecated: Use `\SprykerEco\Zed\ArvatoRss\Persistence\ArvatoRssRepositoryInterface` instead. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated  annotation

17
class ArvatoRssQueryContainer extends AbstractQueryContainer implements /** @scrutinizer ignore-deprecated */ ArvatoRssQueryContainerInterface

This interface has been deprecated. The supplier of the interface has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the interface will be removed and what other interface to use instead.

Loading history...
18
{
19
    /**
20
     * @api
21
     *
22
     * @param string $orderReference
23
     * @param string $type
24
     *
25
     * @return \Orm\Zed\ArvatoRss\Persistence\SpyArvatoRssApiCallLogQuery
0 ignored issues
show
Bug introduced by
The type Orm\Zed\ArvatoRss\Persis...rvatoRssApiCallLogQuery 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...
26
     */
27
    public function queryApiLogByOrderReferenceAndType($orderReference, $type)
28
    {
29
        return $this->getFactory()->createArvatoRssApiCallLogQuery();
30
    }
31
}
32