Skip to content

Commit 28e36fa

Browse files
committed
fix style & scrutinizer warning
1 parent 483c4d5 commit 28e36fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/PhpWord/Style/Paragraph.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ public function setSpaceAfter($value = null)
477477
/**
478478
* Get spacing between lines
479479
*
480-
* @return int
480+
* @return int|float
481481
*/
482482
public function getSpacing()
483483
{
@@ -487,7 +487,7 @@ public function getSpacing()
487487
/**
488488
* Set spacing between lines
489489
*
490-
* @param int $value
490+
* @param int|float $value
491491
* @return self
492492
*/
493493
public function setSpacing($value = null)
@@ -545,7 +545,7 @@ public function setLineHeight($lineHeight)
545545
}
546546

547547
$this->lineHeight = $lineHeight;
548-
$this->setSpacing(($lineHeight -1) * self::LINE_HEIGHT);
548+
$this->setSpacing(($lineHeight - 1) * self::LINE_HEIGHT);
549549
$this->setSpacingLineRule(\PhpOffice\PhpWord\SimpleType\LineSpacingRule::AUTO);
550550

551551
return $this;

0 commit comments

Comments
 (0)