From: Johan Cwiklinski Date: Mon, 29 Nov 2021 10:46:08 +0000 (+0100) Subject: Fix CS X-Git-Tag: 0.9.6~1 X-Git-Url: https://git.agnieray.net/?a=commitdiff_plain;h=045acb2f8ae06373c801c941f53a1b655d832031;p=galette.git Fix CS --- diff --git a/galette/lib/Galette/Core/I18n.php b/galette/lib/Galette/Core/I18n.php index 9c16001a1..e37313fe8 100644 --- a/galette/lib/Galette/Core/I18n.php +++ b/galette/lib/Galette/Core/I18n.php @@ -94,7 +94,9 @@ class I18n list($l, $q) = array_merge(explode(';q=', $el), [1]); $res[$l] = (float) $q; return $res; - }, []); + }, + [] + ); arsort($preferred_locales); foreach (array_keys($preferred_locales) as $preferred_locale) {