This commit is contained in:
Yuri Kuznetsov
2025-03-27 15:21:49 +02:00
parent 2e0f0fb7db
commit ff045692d0

View File

@@ -1427,7 +1427,7 @@ class Parser
$isDecrement = true;
$value = rtrim(substr($value, 0, -2));
} else if (str_ends_with($expression, ']') && str_contains($expression, '[')) {
} else if (str_ends_with($expression, ']') && str_contains($expression, '[')) {
$bracketPosition = strpos($expression, '[');
$value = substr($expression, 1, $bracketPosition - 1);