Skip to content

Commit

Permalink
[php-cs-fixer] Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurujai authored and Alfro committed Feb 14, 2020
1 parent 0cc5e4b commit 4c6d449
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Pumukit/NewAdminBundle/Twig/PumukitAdminExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ public function getLanguageName(string $code, bool $translate = true): string
{
$addonLanguages = CustomLanguageType::$addonLanguages;

if ($code === 'zh-CN') {
if ('zh-CN' === $code) {
return '简体中文';
}
if ($code === 'zh-TW') {
if ('zh-TW' === $code) {
return '繁體中文';
}

Expand Down

0 comments on commit 4c6d449

Please sign in to comment.