Increased MSI to 64%

This commit is contained in:
Alejandro Celaya
2018-11-17 18:40:47 +01:00
parent d2ed7d6417
commit 6094d17718
10 changed files with 103 additions and 42 deletions

View File

@@ -45,11 +45,7 @@ class LocaleMiddleware implements MiddlewareInterface
return $delegate->handle($request);
}
/**
* @param string $locale
* @return string
*/
protected function normalizeLocale($locale)
private function normalizeLocale(string $locale): string
{
$parts = explode('_', $locale);
if (count($parts) > 1) {