Make linter happy

This commit is contained in:
Franz Liedke 2015-09-29 01:31:09 +02:00
parent ce094be83e
commit 295f29e53e

View File

@ -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();
}