src/PhpSpreadsheet/Worksheet/ColumnIterator.php 1 location
|
@@ 186-192 (lines=7) @@
|
183 |
|
*/ |
184 |
|
public function prev() |
185 |
|
{ |
186 |
|
if ($this->position <= $this->startColumn) { |
187 |
|
throw new \PhpOffice\PhpSpreadsheet\Exception( |
188 |
|
'Column is already at the beginning of range (' . |
189 |
|
\PhpOffice\PhpSpreadsheet\Cell::stringFromColumnIndex($this->endColumn) . ' - ' . |
190 |
|
\PhpOffice\PhpSpreadsheet\Cell::stringFromColumnIndex($this->endColumn) . ')' |
191 |
|
); |
192 |
|
} |
193 |
|
|
194 |
|
--$this->position; |
195 |
|
} |
src/PhpSpreadsheet/Worksheet/RowCellIterator.php 1 location
|
@@ 181-187 (lines=7) @@
|
178 |
|
*/ |
179 |
|
public function prev() |
180 |
|
{ |
181 |
|
if ($this->position <= $this->startColumn) { |
182 |
|
throw new \PhpOffice\PhpSpreadsheet\Exception( |
183 |
|
'Column is already at the beginning of range (' . |
184 |
|
\PhpOffice\PhpSpreadsheet\Cell::stringFromColumnIndex($this->endColumn) . ' - ' . |
185 |
|
\PhpOffice\PhpSpreadsheet\Cell::stringFromColumnIndex($this->endColumn) . ')' |
186 |
|
); |
187 |
|
} |
188 |
|
|
189 |
|
do { |
190 |
|
--$this->position; |