Skip to content

Commit

Permalink
MultiplierMacros: $copyCount cast to string
Browse files Browse the repository at this point in the history
  • Loading branch information
MartkCz committed Mar 5, 2019
1 parent bdaa018 commit c76e4df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Macros/MultiplierMacros.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function createMacro(MacroNode $node, PhpWriter $writer) {
. ($node->tokenizer->isNext() ? '->addAttributes(%node.array);' : ';')
. '}',
$name,
$copyCount,
(string) $copyCount,
$words ? 'getControlPart(' . implode(', ', array_map([$writer, 'formatWord'], $words)) . ')' : 'getControl()'
);
}
Expand Down

0 comments on commit c76e4df

Please sign in to comment.