summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Utils/Formatter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Utils/Formatter.php b/src/Utils/Formatter.php
index a357f00..6d340cc 100644
--- a/src/Utils/Formatter.php
+++ b/src/Utils/Formatter.php
@@ -488,7 +488,7 @@ class Formatter
// Finishing the line.
if ($lineEnded) {
$ret .= $this->options['line_ending']
- . str_repeat($this->options['indentation'], $indent);
+ . str_repeat($this->options['indentation'], (int) $indent);
$lineEnded = false;
} else {