| Conditions | 3 | 
| Paths | 4 | 
| Total Lines | 10 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 11 | public function getData()  | 
            ||
| 12 | 	{ | 
            ||
| 13 | // Paginator is better if the query uses ManyToMany associations  | 
            ||
| 14 | $result = $this->qb->getMaxResults() !== NULL || $this->qb->getFirstResult() !== NULL  | 
            ||
| 15 | ? new Paginator($this->getQuery())  | 
            ||
| 16 | : $this->qb->getQuery()->getResult();  | 
            ||
| 17 | |||
| 18 | |||
| 19 | return $result;  | 
            ||
| 20 | }  | 
            ||
| 21 | |||
| 22 | }  |