diff --git a/src/Utils/Formatter.php b/src/Utils/Formatter.php
index <HASH>..<HASH> 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 {
Fix uncaught TypeError with CASE Statement

Related to #<I>