documentation #182
This commit is contained in:
parent
3c8796043b
commit
6d7719c86d
@ -50,7 +50,7 @@ class Cell
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The cell type
|
* The cell type
|
||||||
* @var int
|
* @var int|null
|
||||||
*/
|
*/
|
||||||
protected $type = null;
|
protected $type = null;
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ class Cell
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return mixed|null
|
* @return int|null
|
||||||
*/
|
*/
|
||||||
public function getType()
|
public function getType()
|
||||||
{
|
{
|
||||||
|
@ -192,6 +192,7 @@ class Worksheet implements WorksheetInterface
|
|||||||
$data .= ' table:number-columns-repeated="' . $numTimesValueRepeated . '"';
|
$data .= ' table:number-columns-repeated="' . $numTimesValueRepeated . '"';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @TODO Remove code duplication with XLSX writer: https://github.com/box/spout/pull/383#discussion_r113292746 */
|
||||||
if ($cellValue instanceof Cell) {
|
if ($cellValue instanceof Cell) {
|
||||||
$cell = $cellValue;
|
$cell = $cellValue;
|
||||||
} else {
|
} else {
|
||||||
|
@ -214,6 +214,7 @@ EOD;
|
|||||||
$cellXML = '<c r="' . $columnIndex . $rowIndex . '"';
|
$cellXML = '<c r="' . $columnIndex . $rowIndex . '"';
|
||||||
$cellXML .= ' s="' . $styleId . '"';
|
$cellXML .= ' s="' . $styleId . '"';
|
||||||
|
|
||||||
|
/** @TODO Remove code duplication with ODS writer: https://github.com/box/spout/pull/383#discussion_r113292746 */
|
||||||
if ($cellValue instanceof Cell) {
|
if ($cellValue instanceof Cell) {
|
||||||
$cell = $cellValue;
|
$cell = $cellValue;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user