From bbcc53f08e034477fec4019c36ee1d190b5a4ab1 Mon Sep 17 00:00:00 2001 From: atnaguzin Date: Fri, 16 Dec 2016 12:25:10 +0300 Subject: [PATCH] StyleCI fix --- lib/I18n.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/I18n.php b/lib/I18n.php index 858a89a7..2e1512a1 100644 --- a/lib/I18n.php +++ b/lib/I18n.php @@ -300,7 +300,7 @@ class I18n case 'pl': return $n == 1 ? 0 : $n % 10 >= 2 && $n % 10 <= 4 && ($n % 100 < 10 || $n % 100 >= 20) ? 1 : 2; 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 default: return $n != 1 ? 1 : 0;