aboutsummaryrefslogtreecommitdiff
path: root/src/NXP/Classes/Token/TokenFunction.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/NXP/Classes/Token/TokenFunction.php')
-rw-r--r--src/NXP/Classes/Token/TokenFunction.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NXP/Classes/Token/TokenFunction.php b/src/NXP/Classes/Token/TokenFunction.php
index 23f64bd..2ed8ace 100644
--- a/src/NXP/Classes/Token/TokenFunction.php
+++ b/src/NXP/Classes/Token/TokenFunction.php
@@ -29,7 +29,7 @@ class TokenFunction extends AbstractContainerToken implements InterfaceFunction
*/
public function execute(&$stack)
{
- $args = array();
+ $args = [];
list($places, $function) = $this->value;
for ($i = 0; $i < $places; $i++) {
array_push($args, array_pop($stack)->getValue());