documentation #182

This commit is contained in:
madflow 2017-04-29 09:35:55 +02:00
parent 3c8796043b
commit 6d7719c86d
3 changed files with 4 additions and 2 deletions

View File

@ -50,7 +50,7 @@ class Cell
/**
* The cell type
* @var int
* @var int|null
*/
protected $type = null;
@ -81,7 +81,7 @@ class Cell
}
/**
* @return mixed|null
* @return int|null
*/
public function getType()
{

View File

@ -192,6 +192,7 @@ class Worksheet implements WorksheetInterface
$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) {
$cell = $cellValue;
} else {

View File

@ -214,6 +214,7 @@ EOD;
$cellXML = '<c r="' . $columnIndex . $rowIndex . '"';
$cellXML .= ' s="' . $styleId . '"';
/** @TODO Remove code duplication with ODS writer: https://github.com/box/spout/pull/383#discussion_r113292746 */
if ($cellValue instanceof Cell) {
$cell = $cellValue;
} else {