src/Utils/LocaleHelper.php
/**
     * Note: We're aware "Languages are not Flags", but if we _do_ want a
     * visual presentation there's no better alternative that we're aware of.
     */
We're aware "Languages are not Flags", but if we _do_ want a
visual presentation there's no better alternative that we're aware of.
We ' re aware " Languages are not Flags " but if we _do_ want a visual presentation there ' s no better alternative that we ' re aware of .
private function flagCodeFormatter($flag): string
    {
        $flag = mb_strtolower($flag);
        if ($this->codetoCountry->has($flag)) {
            return $this->codetoCountry->get($flag);
        }
        return $flag;
    }
private function flagCodeFormatter ( $ flag ) : string { $ flag = mb_strtolower ( $ flag ) ; if ( $ this -> codetoCountry -> has ( $ flag ) ) { return $ this -> codetoCountry -> get ( $ flag ) ; } return $ flag ; }
Note: We're aware "Languages are not Flags", but if we _do_ want a
 visual presentation there's no better alternative that we're aware of.
Note : We ' re aware " Languages are not Flags " but if we _do_ want a visual presentation there ' s no better alternative that we ' re aware of .