Fix typo: occured → occurred (#1435)
This commit is contained in:
parent
3dcc5ca753
commit
6788869a40
|
@ -3737,7 +3737,7 @@ class Calculation
|
||||||
} elseif (isset(self::$operators[$opCharacter]) && !$expectingOperator) {
|
} elseif (isset(self::$operators[$opCharacter]) && !$expectingOperator) {
|
||||||
return $this->raiseFormulaError("Formula Error: Unexpected operator '$opCharacter'");
|
return $this->raiseFormulaError("Formula Error: Unexpected operator '$opCharacter'");
|
||||||
} else { // I don't even want to know what you did to get here
|
} else { // I don't even want to know what you did to get here
|
||||||
return $this->raiseFormulaError('Formula Error: An unexpected error occured');
|
return $this->raiseFormulaError('Formula Error: An unexpected error occurred');
|
||||||
}
|
}
|
||||||
// Test for end of formula string
|
// Test for end of formula string
|
||||||
if ($index == strlen($formula)) {
|
if ($index == strlen($formula)) {
|
||||||
|
|
Loading…
Reference in New Issue