Completed
Push — master ( ba4429...7ba03f )
by Joachim
51:08 queued 36:11
created

QueueItemRepository::__construct()   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 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Loevgaard\DandomainFoundation\Repository;
4
5
use Loevgaard\DandomainFoundation\Entity\Generated\QueueItemInterface;
0 ignored issues
show
Bug introduced by
The type Loevgaard\DandomainFound...ated\QueueItemInterface 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...
6
use Loevgaard\DandomainFoundation\Entity\QueueItem;
7
use Loevgaard\DandomainFoundation\Repository\Generated\QueueItemRepositoryTrait;
0 ignored issues
show
Bug introduced by
The type Loevgaard\DandomainFound...ueueItemRepositoryTrait 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...
8
use Symfony\Bridge\Doctrine\RegistryInterface;
9
10
/**
11
 * @method null|QueueItemInterface find($id)
12
 * @method QueueItemInterface[] findBy(array $criteria, array $orderBy = null, int $limit = null, int $offset = null)
13
 * @method null|QueueItemInterface findOneBy(array $criteria)
14
 * @method QueueItemInterface[] findAll()
15
 */
16
class QueueItemRepository extends AbstractRepository
17
{
18
    use QueueItemRepositoryTrait;
19
20
    public function __construct(RegistryInterface $registry)
21
    {
22
        parent::__construct($registry, QueueItem::class);
23
    }
24
}
25