Skip to content

Commit

Permalink
Apply php-cs-fixer
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <[email protected]>
  • Loading branch information
nijel committed May 23, 2017
1 parent 6d582f3 commit c8f913c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Translator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}

Expand Down

0 comments on commit c8f913c

Please sign in to comment.