@@ -120,8 +120,8 @@ discard block |
||
120 | 120 | $cacheKey = $expression; |
121 | 121 | if (!array_key_exists($cacheKey, $this->caches)) { |
122 | 122 | $tokens = (new Tokenizer($expression, $this->operators)) |
123 | - ->tokenize() |
|
124 | - ->buildReversePolishNotation(); |
|
123 | + ->tokenize() |
|
124 | + ->buildReversePolishNotation(); |
|
125 | 125 | |
126 | 126 | if ($cache) { |
127 | 127 | $this->caches[$cacheKey] = $tokens; |
@@ -456,8 +456,8 @@ discard block |
||
456 | 456 | protected function defaultVariables(): array |
457 | 457 | { |
458 | 458 | return [ |
459 | - 'pi' => 3.14159265359, |
|
460 | - 'e' => 2.71828182846 |
|
459 | + 'pi' => 3.14159265359, |
|
460 | + 'e' => 2.71828182846 |
|
461 | 461 | ]; |
462 | 462 | } |
463 | 463 | } |