From 295f29e53e96345b6065fd778875748a1b28a2fa Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Tue, 29 Sep 2015 01:31:09 +0200 Subject: [PATCH] Make linter happy --- src/Core/Users/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Users/User.php b/src/Core/Users/User.php index 34dbdb2c0..4a7dbe015 100755 --- a/src/Core/Users/User.php +++ b/src/Core/Users/User.php @@ -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(); }