From 23736fcfdac8ac5194babeb09d79f96ee6bf893d Mon Sep 17 00:00:00 2001 From: luceos Date: Tue, 24 Mar 2020 10:02:08 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- src/Extend/NotificationChannel.php | 7 +++++++ src/Extend/UserPreferences.php | 7 +++++++ .../DeprecatedUserNotificationPreferences.php | 1 - src/User/Concerns/UserPreferences.php | 9 ++++++++- src/User/User.php | 1 - .../extenders/NotificationChannelTest.php | 13 ++++++++----- tests/integration/extenders/UserPreferencesTest.php | 10 ++++++++-- 7 files changed, 38 insertions(+), 10 deletions(-) diff --git a/src/Extend/NotificationChannel.php b/src/Extend/NotificationChannel.php index 332d6ab19..39aca61e0 100644 --- a/src/Extend/NotificationChannel.php +++ b/src/Extend/NotificationChannel.php @@ -1,5 +1,12 @@ prepareDatabase([ 'users' => [ - $this->normalUser() + $this->normalUser() ] ]); } @@ -39,6 +43,5 @@ class NotificationChannelTest extends TestCase /** @var User $user */ $user = User::find(2); - } } diff --git a/tests/integration/extenders/UserPreferencesTest.php b/tests/integration/extenders/UserPreferencesTest.php index 3c84dc329..da181ff23 100644 --- a/tests/integration/extenders/UserPreferencesTest.php +++ b/tests/integration/extenders/UserPreferencesTest.php @@ -1,5 +1,12 @@ prepareDatabase([ 'users' => [ - $this->normalUser() + $this->normalUser() ] ]); }