Completed
Push — master ( 311312...72e4ac )
by Philipp
07:24 queued 04:56
created
src/Localization/Localization.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -19,8 +19,8 @@  discard block
 block discarded – undo
19 19
     {
20 20
         $locale = self::fromUrl();
21 21
 
22
-        if (! $locale) {
23
-            if (! Config::beautify()) {
22
+        if (!$locale) {
23
+            if (!Config::beautify()) {
24 24
                 return Config::fallbackLocale(); //redirects see test it_ignoes_cookies_and_redirects....
25 25
             }
26 26
 
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      */
86 86
     protected static function languageIsSet()
87 87
     {
88
-        return ! app()->runningInConsole() || array_has(request()->server(), 'HTTP_ACCEPT_LANGUAGE');
88
+        return !app()->runningInConsole() || array_has(request()->server(), 'HTTP_ACCEPT_LANGUAGE');
89 89
     }
90 90
 
91 91
     /**
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
             return cookie()->queue(cookie()->forever(self::COOKIE, $locale));
103 103
         }
104 104
 
105
-        if (! request()->hasCookie(self::COOKIE)) {
105
+        if (!request()->hasCookie(self::COOKIE)) {
106 106
             return;
107 107
         }
108 108
 
Please login to merge, or discard this patch.