Skip to content

Commit b2dfa65

Browse files
authored
Merge pull request #1848 from rikvdlooi/patch-1
Fixed setting width of Cell Style
2 parents be49938 + 04b224c commit b2dfa65

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
@@ -286,7 +286,7 @@ public function getWidth()
286286
*/
287287
public function setWidth($value)
288288
{
289-
$this->setIntVal($value);
289+
$this->width = $this->setIntVal($value);
290290

291291
return $this;
292292
}

0 commit comments

Comments
 (0)