@@ -84,7 +84,7 @@ discard block  | 
                                                    ||
| 84 | 84 | |
| 85 | 85 | /**  | 
                                                        
| 86 | 86 | * @param DatabaseNotificationInterface $notification  | 
                                                        
| 87 | - * @param null $now  | 
                                                        |
| 87 | + * @param null|\DateTime $now  | 
                                                        |
| 88 | 88 | * @param bool $flush  | 
                                                        
| 89 | 89 | */  | 
                                                        
| 90 | 90 | public function setReadAtDate(DatabaseNotificationInterface $notification, $now = null, $flush = true)  | 
                                                        
@@ -104,7 +104,7 @@ discard block  | 
                                                    ||
| 104 | 104 | |
| 105 | 105 | /**  | 
                                                        
| 106 | 106 | * @param NotifiableInterface $notifiable  | 
                                                        
| 107 | - * @param null $now  | 
                                                        |
| 107 | + * @param \DateTime $now  | 
                                                        |
| 108 | 108 | */  | 
                                                        
| 109 | 109 | public function setUsersNotificationsAsRead(NotifiableInterface $notifiable, $now = null)  | 
                                                        
| 110 | 110 |      { | 
                                                        
@@ -159,7 +159,7 @@ discard block  | 
                                                    ||
| 159 | 159 | }  | 
                                                        
| 160 | 160 | |
| 161 | 161 | /**  | 
                                                        
| 162 | - * @return bool|mixed  | 
                                                        |
| 162 | + * @return string  | 
                                                        |
| 163 | 163 | */  | 
                                                        
| 164 | 164 | protected function notificationEntityName()  | 
                                                        
| 165 | 165 |      { |