Skip to content

Commit b7a67f5

Browse files
authored
Update MarginBorder.php
1 parent ccd572d commit b7a67f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/PhpWord/Writer/Word2007/Style/MarginBorder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class MarginBorder extends AbstractStyle
3030
/**
3131
* Sizes.
3232
*
33-
* @var int[]
33+
* @var array<float|int>
3434
*/
3535
private $sizes = [];
3636

@@ -80,7 +80,7 @@ public function write(): void
8080
* Write side.
8181
*
8282
* @param string $side
83-
* @param int $width
83+
* @param float|int $width
8484
* @param string $color
8585
* @param string $borderStyle
8686
*/
@@ -111,7 +111,7 @@ private function writeSide(XMLWriter $xmlWriter, $side, $width, $color = null, $
111111
/**
112112
* Set sizes.
113113
*
114-
* @param int[] $value
114+
* @param array<float|int> $value
115115
*/
116116
public function setSizes($value): void
117117
{

0 commit comments

Comments
 (0)