typo in method name

This commit is contained in:
madflow 2017-07-31 21:09:16 +02:00
parent fe53d4a1a2
commit 169dc262ab

View File

@ -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());