mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-13 19:46:31 +00:00
Use max instead
This commit is contained in:
@@ -281,7 +281,7 @@ class Cells
|
||||
continue;
|
||||
}
|
||||
$column = ($coordinate % self::MAX_COLUMN_ID) ?: self::MAX_COLUMN_ID;
|
||||
$maxColumn = $maxColumn > $column ? $maxColumn : $column;
|
||||
$maxColumn = max($column, $maxColumn);
|
||||
}
|
||||
|
||||
return Coordinate::stringFromColumnIndex($maxColumn);
|
||||
|
||||
Reference in New Issue
Block a user