Passed
Push — master ( 6071b3...d43531 )
by Jan
04:43
created
src/Services/UserCacheKeyGenerator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,10 +60,10 @@
 block discarded – undo
60 60
         //If the user is null, then treat it as anonymous user.
61 61
         //When the anonymous user is passed as user then use this path too.
62 62
         if ($user === null || $user->getID() === User::ID_ANONYMOUS) {
63
-            return 'user$_' . User::ID_ANONYMOUS;
63
+            return 'user$_'.User::ID_ANONYMOUS;
64 64
         }
65 65
 
66 66
         //In the most cases we can just use the username (its unique)
67
-        return "user_" . $user->getUsername() . '_' . $locale;
67
+        return "user_".$user->getUsername().'_'.$locale;
68 68
     }
69 69
 }
70 70
\ No newline at end of file
Please login to merge, or discard this patch.