Completed
Push — master ( cea077...33308d )
by Philipp
05:08
created
src/Dialect.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.