@@ -19,8 +19,8 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | |