From 8c532efd5f02f7a7e5ea322a07ddcf49d130a8ec Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 17 Oct 2015 10:09:03 -0400 Subject: Run php-cs-fixer on the code base --- app/Model/UserNotification.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'app/Model/UserNotification.php') diff --git a/app/Model/UserNotification.php b/app/Model/UserNotification.php index b4ee77a9..3d98ebe9 100644 --- a/app/Model/UserNotification.php +++ b/app/Model/UserNotification.php @@ -51,8 +51,7 @@ class UserNotification extends Base // Use the user language otherwise use the application language (do not use the session language) if (! empty($user['language'])) { Translator::load($user['language']); - } - else { + } else { Translator::load($this->config->get('application_language', 'en_US')); } @@ -123,8 +122,7 @@ class UserNotification extends Base $this->userNotificationFilter->saveFilter($user_id, $filter); $this->userNotificationFilter->saveSelectedProjects($user_id, $projects); $this->userNotificationType->saveSelectedTypes($user_id, $types); - } - else { + } else { $this->disableNotification($user_id); } -- cgit v1.2.3