]> git.agnieray.net Git - galette.git/commitdiff
Fix CS
authorJohan Cwiklinski <johan@x-tnd.be>
Mon, 29 Nov 2021 10:46:08 +0000 (11:46 +0100)
committerJohan Cwiklinski <johan@x-tnd.be>
Mon, 29 Nov 2021 10:46:08 +0000 (11:46 +0100)
galette/lib/Galette/Core/I18n.php

index 9c16001a1a12c6056349769ab597c389f70d4651..e37313fe8bbd09189f7be1579aa7c274719562ce 100644 (file)
@@ -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) {