File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments