fix row from array
This commit is contained in:
parent
2797052c54
commit
78f7036a7c
@ -236,7 +236,7 @@ abstract class WriterAbstract implements WriterInterface
|
|||||||
*/
|
*/
|
||||||
protected function createRowFromArray(array $dataRow, Style $style = null)
|
protected function createRowFromArray(array $dataRow, Style $style = null)
|
||||||
{
|
{
|
||||||
$row = (new Row())->setCells(array_map(function ($value) {
|
$row = EntityFactory::createRow(array_map(function ($value) {
|
||||||
if ($value instanceof Cell) {
|
if ($value instanceof Cell) {
|
||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user