typo in method name
This commit is contained in:
parent
fe53d4a1a2
commit
169dc262ab
@ -204,7 +204,7 @@ abstract class WorkbookManagerAbstract implements WorkbookManagerInterface
|
|||||||
public function addRowToCurrentWorksheet(Row $row)
|
public function addRowToCurrentWorksheet(Row $row)
|
||||||
{
|
{
|
||||||
$currentWorksheet = $this->getCurrentWorksheet();
|
$currentWorksheet = $this->getCurrentWorksheet();
|
||||||
$hasReachedMaxRows = $this->hasCurrentWorkseetReachedMaxRows();
|
$hasReachedMaxRows = $this->hasCurrentWorksheetReachedMaxRows();
|
||||||
|
|
||||||
// if we reached the maximum number of rows for the current sheet...
|
// if we reached the maximum number of rows for the current sheet...
|
||||||
if ($hasReachedMaxRows) {
|
if ($hasReachedMaxRows) {
|
||||||
@ -224,7 +224,7 @@ abstract class WorkbookManagerAbstract implements WorkbookManagerInterface
|
|||||||
/**
|
/**
|
||||||
* @return bool Whether the current worksheet has reached the maximum number of rows per sheet.
|
* @return bool Whether the current worksheet has reached the maximum number of rows per sheet.
|
||||||
*/
|
*/
|
||||||
private function hasCurrentWorkseetReachedMaxRows()
|
private function hasCurrentWorksheetReachedMaxRows()
|
||||||
{
|
{
|
||||||
$currentWorksheet = $this->getCurrentWorksheet();
|
$currentWorksheet = $this->getCurrentWorksheet();
|
||||||
return ($currentWorksheet->getLastWrittenRowIndex() >= $this->getMaxRowsPerWorksheet());
|
return ($currentWorksheet->getLastWrittenRowIndex() >= $this->getMaxRowsPerWorksheet());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user