summaryrefslogtreecommitdiffstats
path: root/src/Components/ArrayObj.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Components/ArrayObj.php')
-rw-r--r--src/Components/ArrayObj.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Components/ArrayObj.php b/src/Components/ArrayObj.php
index 7748be9..6b90a3f 100644
--- a/src/Components/ArrayObj.php
+++ b/src/Components/ArrayObj.php
@@ -55,7 +55,7 @@ class ArrayObj extends Component
*/
public static function parse(Parser $parser, TokensList $list, array $options = [])
{
- $ret = empty($options['type']) ? new self() : [];
+ $ret = empty($options['type']) ? new static() : [];
/**
* The last raw expression.