jenkins-bot has submitted this change and it was merged.

Change subject: Call doOperation function correctly in 
CLDRPluralRuleParser\Converter
......................................................................


Call doOperation function correctly in CLDRPluralRuleParser\Converter

Bug: T119191
Change-Id: Ib21d47925c9cee571307db4ccbb8e36dfa680dc6
---
M src/Converter.php
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Reedy: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/src/Converter.php b/src/Converter.php
index 06bcbaa..4bb87a2 100644
--- a/src/Converter.php
+++ b/src/Converter.php
@@ -145,7 +145,7 @@
                                // Resolve higher precedence levels
                                $lastOp = end( $this->operators );
                                while ( $lastOp && 
self::$precedence[$token->name] <= self::$precedence[$lastOp->name] ) {
-                                       $this->doOperation( $lastOp, 
$this->operands );
+                                       $this->doOperation( $lastOp );
                                        array_pop( $this->operators );
                                        $lastOp = end( $this->operators );
                                }
@@ -155,7 +155,7 @@
 
                // Finish off the stack
                while ( $op = array_pop( $this->operators ) ) {
-                       $this->doOperation( $op, $this->operands );
+                       $this->doOperation( $op );
                }
 
                // Make sure the result is sane. The first case is possible for 
an empty

-- 
To view, visit https://gerrit.wikimedia.org/r/263571
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib21d47925c9cee571307db4ccbb8e36dfa680dc6
Gerrit-PatchSet: 1
Gerrit-Project: CLDRPluralRuleParser
Gerrit-Branch: master
Gerrit-Owner: MtDu <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to