@@ -3512,23 +3512,23 @@ private function processTokenStack($tokens, $cellID = null, Cell $pCell = null)
35123512
35133513 break ;
35143514 case '+ ' : // Addition
3515- $ this ->executeNumericBinaryOperation ($ cellID , $ operand1 , $ operand2 , $ token , 'plusEquals ' , $ stack );
3515+ $ this ->executeNumericBinaryOperation ($ operand1 , $ operand2 , $ token , 'plusEquals ' , $ stack );
35163516
35173517 break ;
35183518 case '- ' : // Subtraction
3519- $ this ->executeNumericBinaryOperation ($ cellID , $ operand1 , $ operand2 , $ token , 'minusEquals ' , $ stack );
3519+ $ this ->executeNumericBinaryOperation ($ operand1 , $ operand2 , $ token , 'minusEquals ' , $ stack );
35203520
35213521 break ;
35223522 case '* ' : // Multiplication
3523- $ this ->executeNumericBinaryOperation ($ cellID , $ operand1 , $ operand2 , $ token , 'arrayTimesEquals ' , $ stack );
3523+ $ this ->executeNumericBinaryOperation ($ operand1 , $ operand2 , $ token , 'arrayTimesEquals ' , $ stack );
35243524
35253525 break ;
35263526 case '/ ' : // Division
3527- $ this ->executeNumericBinaryOperation ($ cellID , $ operand1 , $ operand2 , $ token , 'arrayRightDivide ' , $ stack );
3527+ $ this ->executeNumericBinaryOperation ($ operand1 , $ operand2 , $ token , 'arrayRightDivide ' , $ stack );
35283528
35293529 break ;
35303530 case '^ ' : // Exponential
3531- $ this ->executeNumericBinaryOperation ($ cellID , $ operand1 , $ operand2 , $ token , 'power ' , $ stack );
3531+ $ this ->executeNumericBinaryOperation ($ operand1 , $ operand2 , $ token , 'power ' , $ stack );
35323532
35333533 break ;
35343534 case '& ' : // Concatenation
@@ -3606,7 +3606,7 @@ private function processTokenStack($tokens, $cellID = null, Cell $pCell = null)
36063606 $ this ->debugLog ->writeDebugLog ('Evaluation Result is ' , $ this ->showTypeDetails ($ result ));
36073607 $ stack ->push ('Value ' , $ result );
36083608 } else {
3609- $ this ->executeNumericBinaryOperation ($ cellID , $ multiplier , $ arg , '* ' , 'arrayTimesEquals ' , $ stack );
3609+ $ this ->executeNumericBinaryOperation ($ multiplier , $ arg , '* ' , 'arrayTimesEquals ' , $ stack );
36103610 }
36113611 } elseif (preg_match ('/^ ' . self ::CALCULATION_REGEXP_CELLREF . '$/i ' , $ token , $ matches )) {
36123612 $ cellRef = null ;
@@ -3985,13 +3985,15 @@ private function strcmpLowercaseFirst($str1, $str2)
39853985 }
39863986
39873987 /**
3988- * @param string $matrixFunction
3989- * @param null|string $cellID
39903988 * @param mixed $operand1
39913989 * @param mixed $operand2
39923990 * @param mixed $operation
3991+ * @param string $matrixFunction
3992+ * @param mixed $stack
3993+ *
3994+ * @return bool
39933995 */
3994- private function executeNumericBinaryOperation ($ cellID , $ operand1 , $ operand2 , $ operation , $ matrixFunction , &$ stack )
3996+ private function executeNumericBinaryOperation ($ operand1 , $ operand2 , $ operation , $ matrixFunction , &$ stack )
39953997 {
39963998 // Validate the two operands
39973999 if (!$ this ->validateBinaryOperand ($ operand1 , $ stack )) {
0 commit comments