Empty style on cell

This commit is contained in:
Antoine Lamirault 2020-08-25 16:38:44 +02:00 committed by Adrien Loison
parent 57b6e87a65
commit a58b340835

View File

@ -2,6 +2,7 @@
namespace Box\Spout\Common\Entity;
use Box\Spout\Common\Entity\Style\EmptyStyle;
use Box\Spout\Common\Entity\Style\Style;
use Box\Spout\Common\Helper\CellTypeHelper;
@ -104,7 +105,7 @@ class Cell
*/
public function setStyle($style)
{
$this->style = $style ?: new Style();
$this->style = $style ?: new EmptyStyle();
}
/**