Completed
Pull Request — master (#52)
by Şəhriyar
30:49
created
app/Services/Routing/LocalizedRouter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,9 +58,9 @@
 block discarded – undo
58 58
         $localizedUriTranslationBitParts = [];
59 59
         foreach ($uriExploded as $level => $bitName) {
60 60
             if ($level == 0) {
61
-                $localizedUriTranslationBitParts[$level] = 'routes.' . $bitName . '.';
61
+                $localizedUriTranslationBitParts[$level] = 'routes.'.$bitName.'.';
62 62
             } else {
63
-                $localizedUriTranslationBitParts[$level] = trim($localizedUriTranslationBitParts[$level - 1], '.') . '.' . $bitName;
63
+                $localizedUriTranslationBitParts[$level] = trim($localizedUriTranslationBitParts[$level - 1], '.').'.'.$bitName;
64 64
             }
65 65
         }
66 66
         foreach ($localizedUriTranslationBitParts as $level => &$translationBitPart) {
Please login to merge, or discard this patch.