mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 18:15:27 +08:00
Make linter happy
This commit is contained in:
parent
ce094be83e
commit
295f29e53e
@ -466,7 +466,7 @@ class User extends Model
|
||||
*/
|
||||
public function getNewNotificationsCount()
|
||||
{
|
||||
return $this->getUnreadNotifications()->filter(function($notification) {
|
||||
return $this->getUnreadNotifications()->filter(function ($notification) {
|
||||
return $notification->time > $this->notifications_read_time ?: 0;
|
||||
})->count();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user