From d4e99f74c92da6abf91a9f91bda7625b3ce77fe5 Mon Sep 17 00:00:00 2001 From: madflow Date: Tue, 1 Aug 2017 20:15:23 +0200 Subject: [PATCH] allow setting style to null --- src/Spout/Writer/Common/Entity/Cell.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Spout/Writer/Common/Entity/Cell.php b/src/Spout/Writer/Common/Entity/Cell.php index 6b881c1..fa2d350 100644 --- a/src/Spout/Writer/Common/Entity/Cell.php +++ b/src/Spout/Writer/Common/Entity/Cell.php @@ -97,9 +97,9 @@ class Cell } /** - * @param Style $style + * @param Style $style|null */ - public function setStyle(Style $style) + public function setStyle(Style $style = null) { $this->style = $style; }