| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 43 | 1 | protected function getAllIdsForAnyOwner(): string |
|
| 44 | { |
||
| 45 | 1 | $connection = $this->getEntityManager()->getConnection(); |
|
| 46 | 1 | $qb = $connection->createQueryBuilder() |
|
| 47 | 1 | ->select('id') |
|
| 48 | 1 | ->from($connection->quoteIdentifier($this->getClassMetadata()->getTableName())) |
|
| 49 | 1 | ->andWhere('owner_id IS NOT NULL'); |
|
| 50 | |||
| 51 | 1 | return $qb->getSQL(); |
|
| 52 | } |
||
| 54 |