Fix various problems

This commit is contained in:
Adrien Loison committed 2015-07-27 00:23:18 -07:00
1 parent 86a4c3790a
commit 37d87a8a27
9 files changed
+21 -11

No files matched your search

@@ -25,6 +25,9 @@ EOD;
*/
const DEFAULT_STRINGS_COUNT_PART = 'count="9999999999999" uniqueCount="9999999999999"';
/** @var resource Pointer to the sharedStrings.xml file */
protected $sharedStringsFilePointer;
/** @var int Number of shared strings already written */
protected $numSharedStrings = 0;
+1 -1
View File
@@ -21,7 +21,7 @@ class Sheet
/**
* @param int $sheetIndex Index of the sheet, based on order of creation (zero-based)
*/
function __construct($sheetIndex)
public function __construct($sheetIndex)
{
$this->index = $sheetIndex;
$this->name = self::DEFAULT_SHEET_NAME_PREFIX . ($sheetIndex + 1);