Completed
Push — master ( ea048a...f42f25 )
by Mahmoud
03:42
created
app/Containers/Localization/Middlewares/Localization.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     private function findLanguage($request)
64 64
     {
65 65
         // read the language from the request header, if the header is missed, take the default local language
66
-        return $request->header('Content-Language') ? : Config::get('app.locale');
66
+        return $request->header('Content-Language') ?: Config::get('app.locale');
67 67
     }
68 68
 
69 69
     /**
Please login to merge, or discard this patch.