StyleCI fix

This commit is contained in:
atnaguzin 2016-12-16 12:25:10 +03:00
parent 2847bbc45d
commit bbcc53f08e
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ class I18n
case 'pl': case 'pl':
return $n == 1 ? 0 : $n % 10 >= 2 && $n % 10 <= 4 && ($n % 100 < 10 || $n % 100 >= 20) ? 1 : 2; return $n == 1 ? 0 : $n % 10 >= 2 && $n % 10 <= 4 && ($n % 100 < 10 || $n % 100 >= 20) ? 1 : 2;
case 'ru': case 'ru':
return $n % 10==1 && $n % 100 != 11 ? 0 : ($n % 10 >= 2 && $n % 10 <= 4 && ($n % 100 < 10 || $n % 100 >= 20) ? 1 : 2); return $n % 10 == 1 && $n % 100 != 11 ? 0 : ($n % 10 >= 2 && $n % 10 <= 4 && ($n % 100 < 10 || $n % 100 >= 20) ? 1 : 2);
// en, de // en, de
default: default:
return $n != 1 ? 1 : 0; return $n != 1 ? 1 : 0;