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