| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 12 | 
| Code Lines | 9 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 1 | Features | 0 | 
| 1 | <?php  | 
            ||
| 41 | public function findOneByCustomerAndId(CustomerInterface $customer, $id)  | 
            ||
| 42 |     { | 
            ||
| 43 |         return $this->createQueryBuilder('o') | 
            ||
| 44 |             ->leftJoin('o.customer', 'customer') | 
            ||
| 45 |             ->where('customer = :customer') | 
            ||
| 46 |             ->andWhere('o.id = :id') | 
            ||
| 47 |             ->setParameter('customer', $customer) | 
            ||
| 48 |             ->setParameter('id', $id) | 
            ||
| 49 | ->getQuery()  | 
            ||
| 50 | ->getOneOrNullResult()  | 
            ||
| 51 | ;  | 
            ||
| 52 | }  | 
            ||
| 53 | }  | 
            ||
| 54 |