Passed
Push — master ( e7dd88...04553d )
by Luiz Kim
02:45
created
src/Service/PrintService.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     public function addLine($prefix = '', $suffix = '', $delimiter = ' ')
21 21
     {
22 22
         $initialSpace = str_repeat(" ", $this->initialSpace);
23
-        $count =   $this->totalChars - $this->initialSpace - strlen($prefix) - strlen($suffix);
23
+        $count = $this->totalChars - $this->initialSpace - strlen($prefix) - strlen($suffix);
24 24
         if ($count > 0)
25 25
             $delimiter = str_repeat($delimiter, $count);
26 26
         $this->text .= $initialSpace . $prefix . $delimiter . $suffix . "\n";
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,9 @@
 block discarded – undo
21 21
     {
22 22
         $initialSpace = str_repeat(" ", $this->initialSpace);
23 23
         $count =   $this->totalChars - $this->initialSpace - strlen($prefix) - strlen($suffix);
24
-        if ($count > 0)
25
-            $delimiter = str_repeat($delimiter, $count);
24
+        if ($count > 0) {
25
+                    $delimiter = str_repeat($delimiter, $count);
26
+        }
26 27
         $this->text .= $initialSpace . $prefix . $delimiter . $suffix . "\n";
27 28
     }
28 29
 
Please login to merge, or discard this patch.