|
@@ -346,7 +346,7 @@ discard block |
|
|
block discarded – undo |
|
346
|
346
|
protected function calculateContentWidth() : void |
|
347
|
347
|
{ |
|
348
|
348
|
$this->contentWidth = $this->width |
|
349
|
|
- - ($this->paddingLeftRight * 2) |
|
|
349
|
+ - ($this->paddingLeftRight*2) |
|
350
|
350
|
- ($this->borderRightWidth + $this->borderLeftWidth); |
|
351
|
351
|
|
|
352
|
352
|
if ($this->contentWidth < 0) { |
|
@@ -525,7 +525,7 @@ discard block |
|
|
block discarded – undo |
|
525
|
525
|
|
|
526
|
526
|
private function calculateMarginAuto(int $width) : void |
|
527
|
527
|
{ |
|
528
|
|
- $this->margin = (int) floor(($this->terminal->getWidth() - ($width)) / 2); |
|
|
528
|
+ $this->margin = (int) floor(($this->terminal->getWidth() - ($width))/2); |
|
529
|
529
|
} |
|
530
|
530
|
|
|
531
|
531
|
public function setMargin(int $margin) : self |
Please login to merge, or discard this patch.