| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | 2 | private function getQuery() |
|
| 28 | { |
||
| 29 | 2 | return (new BaseRepository($this->manager, |
|
| 30 | 2 | $this->manager->getClassMetadata($this->class->getFQNC()) |
|
| 31 | )) |
||
| 32 | 2 | ->setQueryOptions($this->options) |
|
| 33 | 2 | ->getQueryBuilderFactory() |
|
| 34 | 2 | ->filter() |
|
| 35 | 2 | ->sort() |
|
| 36 | 2 | ->getQueryBuilder() |
|
| 37 | 2 | ->getQuery(); |
|
| 38 | } |
||
| 50 |
This check marks private properties in classes that are never used. Those properties can be removed.