| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 50 | 16 | protected function getAllIdsForOwnerQuery(User $user): string |
|
| 51 | { |
||
| 52 | 16 | $qb = $this->getEntityManager()->getConnection()->createQueryBuilder() |
|
| 53 | 16 | ->select('id') |
|
| 54 | 16 | ->from($this->getClassMetadata()->getTableName()) |
|
| 55 | 16 | ->andWhere('owner_id = ' . $user->getId()); |
|
| 56 | |||
| 57 | 16 | return $qb->getSQL(); |
|
| 58 | } |
||
| 60 |