Test Setup Failed
Push — master ( e3a06c...33aa21 )
by Nathan
05:05
created
app/Http/Middleware/LocaleMiddleware.php 1 patch
Braces   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,9 +22,7 @@
 block discarded – undo
22 22
             $lang = Auth::user()->preferences['language'];
23 23
 
24 24
             app()->setLocale($lang);
25
-        }
26
-
27
-        else {
25
+        } else {
28 26
             app()->setLocale(env('APP_LOCALE'));
29 27
         }
30 28
 
Please login to merge, or discard this patch.