Passed
Push — master ( 471d2b...bb8d5a )
by Darko
11:48
created
app/Http/Controllers/Admin/AdminUserController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         // Add country data to each user based on their host IP
63 63
         foreach ($results as $user) {
64 64
             $position = null;
65
-            if (! empty($user->host) && filter_var($user->host, FILTER_VALIDATE_IP)) {
65
+            if (!empty($user->host) && filter_var($user->host, FILTER_VALIDATE_IP)) {
66 66
                 $position = Location::get($user->host);
67 67
             }
68 68
             $user->country_name = $position ? $position->countryName : null;
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
                     $adminManuallySetExpiry = false;
186 186
                     if ($request->has('rolechangedate')) {
187 187
                         $roleChangeDate = $request->input('rolechangedate');
188
-                        if (! empty($roleChangeDate)) {
188
+                        if (!empty($roleChangeDate)) {
189 189
                             User::updateUserRoleChangeDate($editedUser->id, $roleChangeDate);
190 190
                             $adminManuallySetExpiry = true; // Flag that admin set custom expiry
191 191
                         } else {
Please login to merge, or discard this patch.