@@ -25,7 +25,7 @@ |
||
25 | 25 | $user = isset($parsed_url['user']) ? $parsed_url['user'] : ''; |
26 | 26 | $pass = isset($parsed_url['pass']) ? ':'.$parsed_url['pass'] : ''; |
27 | 27 | $url .= $user.(($user || $pass) ? "$pass@" : ''); |
28 | - if (! empty($url)) { |
|
28 | + if (!empty($url)) { |
|
29 | 29 | $url .= isset($parsed_url['path']) ? '/'.ltrim($parsed_url['path'], '/') : ''; |
30 | 30 | } elseif (empty($url)) { |
31 | 31 | $url .= isset($parsed_url['path']) ? $parsed_url['path'] : ''; |
@@ -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 |