| @@ -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 | $routePath = Accent::findRoutePathByName($routeName); | 
| 165 | 165 | |
| 166 | -        if (! isset($this->translatedRoutes[$routeName])) { | |
| 166 | +        if (!isset($this->translatedRoutes[$routeName])) { | |
| 167 | 167 | $this->translatedRoutes[$routeName] = $routePath; | 
| 168 | 168 | } | 
| 169 | 169 | |