aboutsummaryrefslogtreecommitdiff
path: root/src/NXP/Classes/Operator.php
diff options
context:
space:
mode:
authorBruce Wells <brucekwells@gmail.com>2020-06-04 18:43:16 +0300
committerGitHub <noreply@github.com>2020-06-04 18:43:16 +0300
commitaa8ffe19f2eb6f194b3e6ee1aac4c2706659e6b9 (patch)
tree55ef6ebce4cdcb53bfe7cc142ef40f90756d9b6c /src/NXP/Classes/Operator.php
parentea898d7a7b85aeb677f81f13784232c99b61808a (diff)
Variable fixes (#67)V2.0.3
* 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.php1
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();
}