diff --git a/src/Translator.php b/src/Translator.php index d042da6..69a132e 100644 --- a/src/Translator.php +++ b/src/Translator.php @@ -301,9 +301,10 @@ public function ngettext($msgid, $msgidPlural, $number) $result = $this->cache_translations[$key]; $list = explode(chr(0), $result); - if (! isset($list[$select])) { + if (!isset($list[$select])) { return $list[0]; } + return $list[$select]; }