@@ -20,7 +20,7 @@ |
||
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"; |
@@ -21,8 +21,9 @@ |
||
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 |