Skip to content

Commit 04b224c

Browse files
authored
Fixed setting width of Cell Style
The setWidth method did not change the width in the style, seems to be a small mistake. Now the width is correctly for the Cell Style.
1 parent 733f845 commit 04b224c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpWord/Style/Cell.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ public function getWidth()
299299
*/
300300
public function setWidth($value)
301301
{
302-
$this->setIntVal($value);
302+
$this->width = $this->setIntVal($value);
303303

304304
return $this;
305305
}

0 commit comments

Comments
 (0)