diff options
author | Bruce Wells <bruce.wells@simparel.com> | 2019-01-11 04:29:20 +0300 |
---|---|---|
committer | Bruce Wells <bruce.wells@simparel.com> | 2019-01-11 04:32:22 +0300 |
commit | e03df64281a1c33639b13c9f490d4452c1a1784d (patch) | |
tree | 449ad548f128c09503ef62df570a8d700ca9145d /src/NXP/MathExecutor.php | |
parent | 18b12aeeff34c8ac9a350165ae36f08f4138dc9c (diff) |
Fixed function argument ordering and default parameter type for addFunction
Updated unit tests
Fixed docs
Diffstat (limited to 'src/NXP/MathExecutor.php')
-rw-r--r-- | src/NXP/MathExecutor.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NXP/MathExecutor.php b/src/NXP/MathExecutor.php index 29c6a64..6325d35 100644 --- a/src/NXP/MathExecutor.php +++ b/src/NXP/MathExecutor.php @@ -174,7 +174,7 @@ class MathExecutor * @return MathExecutor * @throws \ReflectionException */ - public function addFunction($name, $function = null, $places = 1) + public function addFunction($name, $function = null, $places = null) { $this->tokenFactory->addFunction($name, $function, $places); |