diff options
Diffstat (limited to 'src/Components/Condition.php')
-rw-r--r-- | src/Components/Condition.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Components/Condition.php b/src/Components/Condition.php index c37ce19..4ad9864 100644 --- a/src/Components/Condition.php +++ b/src/Components/Condition.php @@ -101,7 +101,7 @@ class Condition extends Component { $ret = []; - $expr = new self(); + $expr = new static(); /** * Counts brackets. @@ -159,12 +159,12 @@ class Condition extends Component } // Adding the operator. - $expr = new self($token->value); + $expr = new static($token->value); $expr->isOperator = true; $ret[] = $expr; // Preparing to parse another condition. - $expr = new self(); + $expr = new static(); continue; } } |