aboutsummaryrefslogtreecommitdiff
path: root/src/NXP/Classes/CustomFunction.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/NXP/Classes/CustomFunction.php')
-rw-r--r--src/NXP/Classes/CustomFunction.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/NXP/Classes/CustomFunction.php b/src/NXP/Classes/CustomFunction.php
index f127ad2..6e4fdc5 100644
--- a/src/NXP/Classes/CustomFunction.php
+++ b/src/NXP/Classes/CustomFunction.php
@@ -44,6 +44,11 @@ class CustomFunction
}
}
+ /**
+ * @param array<Token> $stack
+ *
+ * @throws IncorrectNumberOfFunctionParametersException
+ */
public function execute(array &$stack) : Token
{
if (count($stack) < $this->places) {