aboutsummaryrefslogtreecommitdiff
path: root/src/NXP/Classes/Token/TokenFunction.php
diff options
context:
space:
mode:
authorBruce Wells <phpfui@users.noreply.github.com>2018-09-12 21:21:25 +0300
committerGitHub <noreply@github.com>2018-09-12 21:21:25 +0300
commit12d41b160bbf8c26601819fcc1f7628c48bc7a00 (patch)
treec50b777d06d9e9eeff6aeb59005c389ddf9a552b /src/NXP/Classes/Token/TokenFunction.php
parent855ca5dfc1a6d70d9872df4b0d7bea8ba3c4c040 (diff)
parent4a672cfd94c07e1821227f27fd1edd2217685136 (diff)
Merge pull request #1 from NeonXP/master
Merge from upstream master
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());