summaryrefslogtreecommitdiffstats
path: root/src/Components/FunctionCall.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Components/FunctionCall.php')
-rw-r--r--src/Components/FunctionCall.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Components/FunctionCall.php b/src/Components/FunctionCall.php
index 382ee8f..073b0e3 100644
--- a/src/Components/FunctionCall.php
+++ b/src/Components/FunctionCall.php
@@ -59,7 +59,7 @@ class FunctionCall extends Component
*/
public static function parse(Parser $parser, TokensList $list, array $options = [])
{
- $ret = new self();
+ $ret = new static();
/**
* The state of the parser.