| 
                                
                                    @@ 65-72 (lines=8) @@
                                 | 
                            
                                                            
                                    | 62 | 
                                     | 
                                            $qb->select('*')->from($this->getTable())->where($qb->expr()->eq('id', ':id'))->setParameter('id', $id); | 
                                
                                                            
                                    | 63 | 
                                     | 
                                     | 
                                
                                                            
                                    | 64 | 
                                     | 
                                            $row = $qb->execute()->fetch(\PDO::FETCH_ASSOC);  | 
                                
                                                            
                                    | 65 | 
                                     | 
                                            if (false === $row) { | 
                                
                                                            
                                    | 66 | 
                                     | 
                                                $this->logger->warning(  | 
                                
                                                            
                                    | 67 | 
                                     | 
                                                    'model: model {model} with id {id} not found', | 
                                
                                                            
                                    | 68 | 
                                     | 
                                                    ['model' => $modelClass, 'id' => $id]  | 
                                
                                                            
                                    | 69 | 
                                     | 
                                                );  | 
                                
                                                            
                                    | 70 | 
                                     | 
                                     | 
                                
                                                            
                                    | 71 | 
                                     | 
                                                return null;  | 
                                
                                                            
                                    | 72 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 73 | 
                                     | 
                                     | 
                                
                                                            
                                    | 74 | 
                                     | 
                                            $model = $this->fromRow($row);  | 
                                
                                                            
                                    | 75 | 
                                     | 
                                     | 
                                
                                                                                
                                 | 
                                
                                    @@ 98-105 (lines=8) @@
                                 | 
                            
                                                            
                                    | 95 | 
                                     | 
                                            $qb = $this->getFindByQueryBuilder($criteria)->setMaxResults(1);  | 
                                
                                                            
                                    | 96 | 
                                     | 
                                     | 
                                
                                                            
                                    | 97 | 
                                     | 
                                            $row = $qb->execute()->fetch(\PDO::FETCH_ASSOC);  | 
                                
                                                            
                                    | 98 | 
                                     | 
                                            if (false === $row) { | 
                                
                                                            
                                    | 99 | 
                                     | 
                                                $this->logger->warning(  | 
                                
                                                            
                                    | 100 | 
                                     | 
                                                    'model: model {model} with criteria {criteria} not found', | 
                                
                                                            
                                    | 101 | 
                                     | 
                                                    ['model' => $modelClass, 'criteria' => $criteria]  | 
                                
                                                            
                                    | 102 | 
                                     | 
                                                );  | 
                                
                                                            
                                    | 103 | 
                                     | 
                                     | 
                                
                                                            
                                    | 104 | 
                                     | 
                                                return null;  | 
                                
                                                            
                                    | 105 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 106 | 
                                     | 
                                     | 
                                
                                                            
                                    | 107 | 
                                     | 
                                            return $this->fromRow($row);  | 
                                
                                                            
                                    | 108 | 
                                     | 
                                        }  |