diff options
author | Bruce Wells <brucekwells@gmail.com> | 2022-03-21 19:52:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-21 19:52:25 +0300 |
commit | a0ff7a79af8c3bc5e9c5decee24cbefb5d80e93b (patch) | |
tree | 9432edb4d427293952ed99f48968b8ad32f6633a /src/NXP/Classes/CustomFunction.php | |
parent | 6ebe4849ff7448d5903914d2f8980af5c9fd8d34 (diff) |
* Added varExists method
* getVar now respects VarNotFoundHandler setting
* Use local version of PHP-CS-Fixer
Instead of hard coded version from github actions
* Fixing actions
* Fixing actions
* Dropping testing for 7.3, as it is no longer supported
Diffstat (limited to 'src/NXP/Classes/CustomFunction.php')
-rw-r--r-- | src/NXP/Classes/CustomFunction.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/NXP/Classes/CustomFunction.php b/src/NXP/Classes/CustomFunction.php index 6e4fdc5..225495f 100644 --- a/src/NXP/Classes/CustomFunction.php +++ b/src/NXP/Classes/CustomFunction.php @@ -1,6 +1,5 @@ <?php - namespace NXP\Classes; use NXP\Exception\IncorrectNumberOfFunctionParametersException; @@ -49,7 +48,7 @@ class CustomFunction * * @throws IncorrectNumberOfFunctionParametersException */ - public function execute(array &$stack) : Token + public function execute(array &$stack): Token { if (count($stack) < $this->places) { throw new IncorrectNumberOfFunctionParametersException($this->name); |