Skip to content

Commit 1a99634

Browse files
committed
Fix uncaught TypeError with CASE Statement
Related to #272 Signed-off-by: Maurício Meneghini Fauth <[email protected]>
1 parent dc9d1a7 commit 1a99634

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Utils/Formatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ public function formatList($list)
488488
// Finishing the line.
489489
if ($lineEnded) {
490490
$ret .= $this->options['line_ending']
491-
. str_repeat($this->options['indentation'], $indent);
491+
. str_repeat($this->options['indentation'], (int) $indent);
492492

493493
$lineEnded = false;
494494
} else {

0 commit comments

Comments
 (0)