diff options
author | Bruce Wells <brucekwells@gmail.com> | 2020-06-04 18:43:16 +0300 |
---|---|---|
committer | Bruce Wells <brucekwells@gmail.com> | 2020-09-16 04:14:44 +0300 |
commit | a0e0f405a9ffa11482e53a87eed95d962b8839f6 (patch) | |
tree | 55ef6ebce4cdcb53bfe7cc142ef40f90756d9b6c /src/NXP/Classes/Operator.php | |
parent | 333a52e9aa64272b0011e108714c93c0f1e0d7db (diff) |
Variable fixes (#67)
* Reproduce if throws UnknownOperatorException
* Fix variable detection
* Adding IncorrectNumberOfFunctionParametersException
* Removing tabs
* Better exception message text
Diffstat (limited to 'src/NXP/Classes/Operator.php')
-rw-r--r-- | src/NXP/Classes/Operator.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/NXP/Classes/Operator.php b/src/NXP/Classes/Operator.php index 86df549..00485bc 100644 --- a/src/NXP/Classes/Operator.php +++ b/src/NXP/Classes/Operator.php @@ -46,7 +46,6 @@ class Operator $this->isRightAssoc = $isRightAssoc; $this->priority = $priority; $this->function = $function; - $this->function = $function; $reflection = new ReflectionFunction($function); $this->places = $reflection->getNumberOfParameters(); } |