@@ -63,7 +63,7 @@ |
||
63 | 63 | $style->getContentWidth(), |
64 | 64 | $this->artLength); |
65 | 65 | |
66 | - return array_map(function ($row) use ($justificationHelper) { |
|
66 | + return array_map(function($row) use ($justificationHelper) { |
|
67 | 67 | return $justificationHelper->justifyRow($row); |
68 | 68 | }, explode("\n", $this->text)); |
69 | 69 | } |
@@ -59,7 +59,7 @@ |
||
59 | 59 | $padding = $this->_getPadding($row); |
60 | 60 | $row = rtrim($row); |
61 | 61 | $padding = $padding - ($this->artLength - mb_strlen($row)); |
62 | - $left = ceil($padding / 2); |
|
62 | + $left = ceil($padding/2); |
|
63 | 63 | $right = $padding - $left; |
64 | 64 | return sprintf('%s%s%s', str_repeat(' ', $left), $row, str_repeat(' ', $right)); |
65 | 65 | } |