src/PhpSpreadsheet/Worksheet/ColumnCellIterator.php 1 location
|
@@ 162-169 (lines=8) @@
|
159 |
|
/** |
160 |
|
* Set the iterator to its next value. |
161 |
|
*/ |
162 |
|
public function next() |
163 |
|
{ |
164 |
|
do { |
165 |
|
++$this->position; |
166 |
|
} while (($this->onlyExistingCells) && |
167 |
|
(!$this->subject->cellExistsByColumnAndRow($this->columnIndex, $this->position)) && |
168 |
|
($this->position <= $this->endRow)); |
169 |
|
} |
170 |
|
|
171 |
|
/** |
172 |
|
* Set the iterator to its previous value. |
src/PhpSpreadsheet/Worksheet/RowCellIterator.php 1 location
|
@@ 165-172 (lines=8) @@
|
162 |
|
/** |
163 |
|
* Set the iterator to its next value. |
164 |
|
*/ |
165 |
|
public function next() |
166 |
|
{ |
167 |
|
do { |
168 |
|
++$this->position; |
169 |
|
} while (($this->onlyExistingCells) && |
170 |
|
(!$this->subject->cellExistsByColumnAndRow($this->position, $this->rowIndex)) && |
171 |
|
($this->position <= $this->endColumn)); |
172 |
|
} |
173 |
|
|
174 |
|
/** |
175 |
|
* Set the iterator to its previous value. |