@@ -20,7 +20,7 @@ |
||
| 20 | 20 | |
| 21 | 21 | public function initiateEmailActivationApi(User $user) |
| 22 | 22 | { |
| 23 | - if (! config('settings.activation') || ! $this->validateEmail($user)) { |
|
| 23 | + if (!config('settings.activation') || !$this->validateEmail($user)) { |
|
| 24 | 24 | return true; |
| 25 | 25 | } |
| 26 | 26 | |
@@ -162,7 +162,7 @@ |
||
| 162 | 162 | public function erase(bool $person = false) |
| 163 | 163 | { |
| 164 | 164 | if ($person) { |
| 165 | - return DB::transaction(fn () => tap($this)->delete()->person->delete()); |
|
| 165 | + return DB::transaction(fn() => tap($this)->delete()->person->delete()); |
|
| 166 | 166 | } |
| 167 | 167 | |
| 168 | 168 | return $this->delete(); |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | { |
| 55 | 55 | $user = $this->loggableUser($request); |
| 56 | 56 | |
| 57 | - if (! $user) { |
|
| 57 | + if (!$user) { |
|
| 58 | 58 | return false; |
| 59 | 59 | } |
| 60 | 60 | |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | |
| 103 | 103 | \Session::put('db', $value); |
| 104 | 104 | |
| 105 | - if (! optional($user)->currentPasswordIs($request->input('password'))) { |
|
| 105 | + if (!optional($user)->currentPasswordIs($request->input('password'))) { |
|
| 106 | 106 | return; |
| 107 | 107 | } |
| 108 | 108 | |