Empty style on cell
This commit is contained in:
parent
9a4f229774
commit
40bdc9c0f1
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
namespace Box\Spout\Common\Entity;
|
namespace Box\Spout\Common\Entity;
|
||||||
|
|
||||||
|
use Box\Spout\Common\Entity\Style\EmptyStyle;
|
||||||
use Box\Spout\Common\Entity\Style\Style;
|
use Box\Spout\Common\Entity\Style\Style;
|
||||||
use Box\Spout\Common\Helper\CellTypeHelper;
|
use Box\Spout\Common\Helper\CellTypeHelper;
|
||||||
|
|
||||||
@ -104,7 +105,7 @@ class Cell
|
|||||||
*/
|
*/
|
||||||
public function setStyle($style)
|
public function setStyle($style)
|
||||||
{
|
{
|
||||||
$this->style = $style ?: new Style();
|
$this->style = $style ?: new EmptyStyle();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user