Better support for errored cells

This commit is contained in:
Adrien Loison authored and Adrien Loison committed 2018-06-03 22:31:24 +02:00
1 parent 1b64a06fbe
commit f7c483adbd
3 files changed
+16 -4

No files matched your search

+1 -1
View File
@@ -117,7 +117,7 @@ class Row
public function toArray()
{
return array_map(function (Cell $cell) {
return !$cell->isError() ? $cell->getValue() : null;
return $cell->getValue();
}, $this->cells);
}
}