From 04b224caa5b5dca5b75fdf6f84649f0786812eee Mon Sep 17 00:00:00 2001 From: rikvdlooi Date: Wed, 15 Apr 2020 22:34:19 +0200 Subject: [PATCH] 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. --- src/PhpWord/Style/Cell.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhpWord/Style/Cell.php b/src/PhpWord/Style/Cell.php index 1276b5b59a..8c329ab310 100644 --- a/src/PhpWord/Style/Cell.php +++ b/src/PhpWord/Style/Cell.php @@ -299,7 +299,7 @@ public function getWidth() */ public function setWidth($value) { - $this->setIntVal($value); + $this->width = $this->setIntVal($value); return $this; }