Skip to content

Commit 4d1b10d

Browse files
committed
Fix syntax
1 parent 043d3fd commit 4d1b10d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JsPhpize/Parser/ExpressionParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ protected function handlePlus(&$expression, $token, $handlePlus)
117117
$before = implode(' ', array_reverse($before));
118118
$after = array(',', $token, ',');
119119
while ($this->next() && ($next = $this->current())) {
120-
if (in_array($next->type, array('(', '{', '[', 'variable')))) {
120+
if (in_array($next->type, array('(', '{', '[', 'variable'))) {
121121
$next = $this->getExpression(false);
122122
}
123123
if ($next instanceof Token && !in_array($next->type, $priorToPlusOperators)) {

0 commit comments

Comments
 (0)