Completed
Push — master ( eca3c6...1499e4 )
by Philipp
02:45
created
src/Localization/Localization.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
             // this could be a future bug
25 25
             // when no middleware is active the language is not set right
26 26
             // domain.com could be in german etc...
27
-            if (! Config::beautify()) {
27
+            if (!Config::beautify()) {
28 28
                 // if the middleware is active we should be redirected to en.domain.com
29 29
                 // if not the fallback language is going to be used
30 30
                 return Config::fallbackLocale();
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
         }
35 35
 
36 36
         // could be a custom subdomain
37
-        if (! tongue()->isSpeaking($locale)) {
37
+        if (!tongue()->isSpeaking($locale)) {
38 38
             // check if it is a white listed domain
39 39
 
40 40
             if (tongue()->speaking('subdomains', $locale)) {
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      */
86 86
     protected static function languageIsSet(): bool
87 87
     {
88
-        return ! app()->runningInConsole() || Arr::has(request()->server(), 'HTTP_ACCEPT_LANGUAGE');
88
+        return !app()->runningInConsole() || Arr::has(request()->server(), 'HTTP_ACCEPT_LANGUAGE');
89 89
     }
90 90
 
91 91
     /**
Please login to merge, or discard this patch.