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