Skip to content

Commit 43c9e28

Browse files
remicolletwilliamdes
authored andcommitted
1 parent b35c21f commit 43c9e28

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Components/Expression.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ public static function parse(Parser $parser, TokensList $list, array $options =
433433
public static function build($component, array $options = array())
434434
{
435435
if (is_array($component)) {
436-
return implode($component, ', ');
436+
return implode(', ', $component);
437437
}
438438

439439
if ($component->expr !== '' && ! is_null($component->expr)) {

src/Components/ExpressionArray.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,6 @@ public static function build($component, array $options = array())
122122
$ret[] = $frag::build($frag);
123123
}
124124

125-
return implode($ret, ', ');
125+
return implode(', ', $ret);
126126
}
127127
}

0 commit comments

Comments
 (0)