From 119088abc772602e9b723767a16c4f4d01ef8423 Mon Sep 17 00:00:00 2001 From: Juan Cristobal <65052633+juancristobalgd1@users.noreply.github.com> Date: Tue, 26 Dec 2023 20:02:17 +0100 Subject: [PATCH] update file src/Application.php --- src/Application.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Application.php b/src/Application.php index 0d6afec..b2537a5 100644 --- a/src/Application.php +++ b/src/Application.php @@ -353,9 +353,7 @@ public function setTimeZone(string $timezone): void */ public function getLocale() { - if (!isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { - return ''; - } + if (!isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) return ''; if (!extension_loaded('intl')) { throw new Exception('The "intl" extension is not enabled on this server');