Skip to content

Commit 5e671ad

Browse files
committed
Change isNumeric
1 parent 647d855 commit 5e671ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Utils/TwigBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ private function isNumeric(string $value, array $properties): bool
413413
return $this->concat[$value]->isNumeric();
414414
}
415415

416-
$mathematicsParts = preg_split('/[-\*\/%]+/', $value);
416+
$mathematicsParts = preg_split('/[-*\/%]+/', $value);
417417
if (count($mathematicsParts) > 1) {
418418
$isNumeric = true;
419419
foreach ($mathematicsParts as $mathematicsPart) {

0 commit comments

Comments
 (0)