From a0e0f405a9ffa11482e53a87eed95d962b8839f6 Mon Sep 17 00:00:00 2001 From: Bruce Wells Date: Thu, 4 Jun 2020 11:43:16 -0400 Subject: Variable fixes (#67) * Reproduce if throws UnknownOperatorException * Fix variable detection * Adding IncorrectNumberOfFunctionParametersException * Removing tabs * Better exception message text --- src/NXP/Classes/Operator.php | 1 - 1 file changed, 1 deletion(-) (limited to 'src/NXP/Classes/Operator.php') 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(); } -- cgit v1.2.3