diff options
author | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2020-05-20 22:26:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-20 22:26:59 +0300 |
commit | 913cf0a1e8920dbcc18649fa173a0c7e6ba5d5ef (patch) | |
tree | bb1049748d4b6f12209d0a868fb17592b85789ea /src/NXP/Classes/Operator.php | |
parent | 949334d6c37d384800c639ba9941e94f5157f5ac (diff) | |
parent | 2c18fbb2452baa1839f9102b309de1967b30307d (diff) |
Merge pull request #63 from phpfui/neonxp-ngv2.0.0
Update parameters and add back functions
Diffstat (limited to 'src/NXP/Classes/Operator.php')
-rw-r--r-- | src/NXP/Classes/Operator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NXP/Classes/Operator.php b/src/NXP/Classes/Operator.php index 53550a9..c3762ea 100644 --- a/src/NXP/Classes/Operator.php +++ b/src/NXP/Classes/Operator.php @@ -52,7 +52,7 @@ class Operator $this->places = $reflection->getNumberOfParameters(); } - public function execute(&$stack) + public function execute(array &$stack) : Token { if (count($stack) < $this->places) { throw new IncorrectExpressionException(); |