Apply fixes from StyleCI

[ci skip] [skip ci]
This commit is contained in:
HDVinnie
2020-12-03 02:21:57 +00:00
committed by StyleCI Bot
parent 3bd8492128
commit 99c11a89e8
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -64,7 +64,7 @@ class InviteController extends Controller
return \redirect()->route('home.index')
->withErrors('Your Invite Rights Have Been Revoked!');
}
if (\config('other.invites_restriced') == true && !\in_array($user->group->name, \config('other.invite_groups'), true)) {
if (\config('other.invites_restriced') == true && ! \in_array($user->group->name, \config('other.invite_groups'), true)) {
return \redirect()->route('home.index')
->withErrors('Invites are currently disabled for your group.');
}
@@ -86,7 +86,7 @@ class InviteController extends Controller
$carbon = new Carbon();
$user = $request->user();
if (\config('other.invites_restriced') == true && !\in_array($user->group->name, \config('other.invite_groups'), true)) {
if (\config('other.invites_restriced') == true && ! \in_array($user->group->name, \config('other.invite_groups'), true)) {
return \redirect()->route('home.index')
->withErrors('Invites are currently disabled for your group.');
}