From ca3aa19b43312d90b6a803175cee829ff4553a99 Mon Sep 17 00:00:00 2001 From: denisdulici Date: Mon, 31 Dec 2018 14:46:54 +0300 Subject: [PATCH] styling --- src/Controllers/Language.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Controllers/Language.php b/src/Controllers/Language.php index 703fb97..641c18d 100644 --- a/src/Controllers/Language.php +++ b/src/Controllers/Language.php @@ -61,7 +61,8 @@ public function back($locale, Request $request) if (config('language.url')) { $previous_url = substr(str_replace(env('APP_URL'), '', $session->previousUrl()), 7); - if (strlen($previous_url) == 3){ + + if (strlen($previous_url) == 3) { $previous_url = substr($previous_url, 3); } else { $previous_url = substr($previous_url, strrpos($previous_url, '/') + 1);