@@ -86,7 +86,7 @@  | 
                                                    ||
| 86 | 86 | * @param array $criteria  | 
                                                        
| 87 | 87 | * @param array|null $orderBy  | 
                                                        
| 88 | 88 | *  | 
                                                        
| 89 | - * @return object|null The entity instance or NULL if the entity can not be found.  | 
                                                        |
| 89 | + * @return Entity The entity instance or NULL if the entity can not be found.  | 
                                                        |
| 90 | 90 | */  | 
                                                        
| 91 | 91 | public function findOneBy(array $criteria, array $orderBy = null)  | 
                                                        
| 92 | 92 |      { |