useless parentheses
This commit is contained in:
parent
fac1d6de14
commit
157b6e75e4
|
@ -2561,11 +2561,11 @@ class Worksheet implements IComparable
|
||||||
// Loop through rows
|
// Loop through rows
|
||||||
$r = -1;
|
$r = -1;
|
||||||
for ($row = $minRow; $row <= $maxRow; ++$row) {
|
for ($row = $minRow; $row <= $maxRow; ++$row) {
|
||||||
$rRef = ($returnCellRef) ? $row : ++$r;
|
$rRef = $returnCellRef ? $row : ++$r;
|
||||||
$c = -1;
|
$c = -1;
|
||||||
// Loop through columns in the current row
|
// Loop through columns in the current row
|
||||||
for ($col = $minCol; $col != $maxCol; ++$col) {
|
for ($col = $minCol; $col != $maxCol; ++$col) {
|
||||||
$cRef = ($returnCellRef) ? $col : ++$c;
|
$cRef = $returnCellRef ? $col : ++$c;
|
||||||
// Using getCell() will create a new cell if it doesn't already exist. We don't want that to happen
|
// Using getCell() will create a new cell if it doesn't already exist. We don't want that to happen
|
||||||
// so we test and retrieve directly against cellCollection
|
// so we test and retrieve directly against cellCollection
|
||||||
if ($this->cellCollection->has($col . $row)) {
|
if ($this->cellCollection->has($col . $row)) {
|
||||||
|
|
Loading…
Reference in New Issue