Use interwiki cache directly to resolve transwiki import sources
[lhc/web/wiklou.git] / languages / utils / CLDRPluralRuleConverter.php
index 1294b1a..2eabcab 100644 (file)
@@ -53,7 +53,7 @@ class CLDRPluralRuleConverter {
         * for the level 4 operators, since they return boolean and don't accept
         * boolean inputs.
         */
-       static $precedence = array(
+       private static $precedence = array(
                'or' => 2,
                'and' => 3,
                'is' => 4,
@@ -102,6 +102,7 @@ class CLDRPluralRuleConverter {
 
        /**
         * Private constructor.
+        * @param string $rule
         */
        protected function __construct( $rule ) {
                $this->rule = $rule;
@@ -313,6 +314,7 @@ class CLDRPluralRuleConverter {
 
        /**
         * Throw an error
+        * @param string $message
         */
        protected function error( $message ) {
                throw new CLDRPluralRuleError( $message );