PHP Style Change (Laravel Pint CI)

This commit is contained in:
HDVinnie
2023-11-07 23:54:38 +00:00
committed by HDVinne
parent e8f80c78be
commit 3f03214e39
93 changed files with 293 additions and 293 deletions
@@ -49,7 +49,7 @@ class InviteController extends Controller
{
abort_unless($request->user()->is($user), 403);
if (! config('other.invite-only')) {
if (!config('other.invite-only')) {
return to_route('home.index')
->withErrors(trans('user.invites-disabled'));
}
@@ -59,7 +59,7 @@ class InviteController extends Controller
->withErrors(trans('user.invites-banned'));
}
if (config('other.invites_restriced') && ! \in_array($user->group->name, config('other.invite_groups'), true)) {
if (config('other.invites_restriced') && !\in_array($user->group->name, config('other.invite_groups'), true)) {
return to_route('home.index')
->withErrors(trans('user.invites-disabled-group'));
}
@@ -76,7 +76,7 @@ class InviteController extends Controller
{
abort_unless($request->user()->is($user) && $user->can_invite, 403);
if (config('other.invites_restriced') && ! \in_array($user->group->name, config('other.invite_groups'), true)) {
if (config('other.invites_restriced') && !\in_array($user->group->name, config('other.invite_groups'), true)) {
return to_route('home.index')
->withErrors(trans('user.invites-disabled-group'));
}