@@ -164,7 +164,7 @@ |
||
164 | 164 | protected function addLocaleToHost($locale) |
165 | 165 | { |
166 | 166 | if(Config::beautify() && $locale === tongue()->current() && $locale === Config::fallbackLocale()){ |
167 | - return Localization::domain(); |
|
167 | + return Localization::domain(); |
|
168 | 168 | } |
169 | 169 | |
170 | 170 | // Add locale to the host |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | public function translate($routeName, $routeAttributes = null, $locale = null) |
124 | 124 | { |
125 | 125 | // If no locale is given, we use the current locale |
126 | - if (! $locale) { |
|
126 | + if (!$locale) { |
|
127 | 127 | $locale = tongue()->current(); |
128 | 128 | } |
129 | 129 | |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | */ |
164 | 164 | protected function addLocaleToHost($locale) |
165 | 165 | { |
166 | - if(Config::beautify() && $locale === tongue()->current() && $locale === Config::fallbackLocale()){ |
|
166 | + if (Config::beautify() && $locale === tongue()->current() && $locale === Config::fallbackLocale()) { |
|
167 | 167 | return Localization::domain(); |
168 | 168 | } |
169 | 169 | |
@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | { |
183 | 183 | $routePath = Accent::findRoutePathByName($routeName); |
184 | 184 | |
185 | - if (! isset($this->translatedRoutes[$routeName])) { |
|
185 | + if (!isset($this->translatedRoutes[$routeName])) { |
|
186 | 186 | $this->translatedRoutes[$routeName] = $routePath; |
187 | 187 | } |
188 | 188 |