@@ -1384,7 +1384,7 @@ public function getStyles(): array
13841384 /**
13851385 * Get style for cell.
13861386 *
1387- * @param AddressRange|array{0: int, 1: int, 2: int, 3: int}|array{0: int, 1: int}|CellAddress|int|string $cellCoordinate
1387+ * @param AddressRange<CellAddress> |array{0: int, 1: int, 2: int, 3: int}|array{0: int, 1: int}|CellAddress|int|string $cellCoordinate
13881388 * A simple string containing a cell address like 'A1' or a cell range like 'A1:E10'
13891389 * or passing in an array of [$fromColumnIndex, $fromRow, $toColumnIndex, $toRow] (e.g. [3, 5, 6, 8]),
13901390 * or a CellAddress or AddressRange object.
@@ -1688,7 +1688,7 @@ public function getColumnBreaks(): array
16881688 /**
16891689 * Set merge on a cell range.
16901690 *
1691- * @param AddressRange|array{0: int, 1: int, 2: int, 3: int}|array{0: int, 1: int}|string $range A simple string containing a Cell range like 'A1:E10'
1691+ * @param AddressRange<CellAddress> |array{0: int, 1: int, 2: int, 3: int}|array{0: int, 1: int}|string $range A simple string containing a Cell range like 'A1:E10'
16921692 * or passing in an array of [$fromColumnIndex, $fromRow, $toColumnIndex, $toRow] (e.g. [3, 5, 6, 8]),
16931693 * or an AddressRange.
16941694 * @param string $behaviour How the merged cells should behave.
@@ -1813,7 +1813,7 @@ public function mergeCellBehaviour(Cell $cell, string $upperLeft, string $behavi
18131813 /**
18141814 * Remove merge on a cell range.
18151815 *
1816- * @param AddressRange|array{0: int, 1: int, 2: int, 3: int}|array{0: int, 1: int}|string $range A simple string containing a Cell range like 'A1:E10'
1816+ * @param AddressRange<CellAddress> |array{0: int, 1: int, 2: int, 3: int}|array{0: int, 1: int}|string $range A simple string containing a Cell range like 'A1:E10'
18171817 * or passing in an array of [$fromColumnIndex, $fromRow, $toColumnIndex, $toRow] (e.g. [3, 5, 6, 8]),
18181818 * or an AddressRange.
18191819 *
@@ -1864,7 +1864,7 @@ public function setMergeCells(array $mergeCells): static
18641864 /**
18651865 * Set protection on a cell or cell range.
18661866 *
1867- * @param AddressRange|array{0: int, 1: int, 2: int, 3: int}|array{0: int, 1: int}|CellAddress|int|string $range A simple string containing a Cell range like 'A1:E10'
1867+ * @param AddressRange<CellAddress> |array{0: int, 1: int, 2: int, 3: int}|array{0: int, 1: int}|CellAddress|int|string $range A simple string containing a Cell range like 'A1:E10'
18681868 * or passing in an array of [$fromColumnIndex, $fromRow, $toColumnIndex, $toRow] (e.g. [3, 5, 6, 8]),
18691869 * or a CellAddress or AddressRange object.
18701870 * @param string $password Password to unlock the protection
@@ -1887,7 +1887,7 @@ public function protectCells(AddressRange|CellAddress|int|string|array $range, s
18871887 /**
18881888 * Remove protection on a cell or cell range.
18891889 *
1890- * @param AddressRange|array{0: int, 1: int, 2: int, 3: int}|array{0: int, 1: int}|CellAddress|int|string $range A simple string containing a Cell range like 'A1:E10'
1890+ * @param AddressRange<CellAddress> |array{0: int, 1: int, 2: int, 3: int}|array{0: int, 1: int}|CellAddress|int|string $range A simple string containing a Cell range like 'A1:E10'
18911891 * or passing in an array of [$fromColumnIndex, $fromRow, $toColumnIndex, $toRow] (e.g. [3, 5, 6, 8]),
18921892 * or a CellAddress or AddressRange object.
18931893 *
@@ -1945,7 +1945,7 @@ public function getAutoFilter(): AutoFilter
19451945 /**
19461946 * Set AutoFilter.
19471947 *
1948- * @param AddressRange|array{0: int, 1: int, 2: int, 3: int}|array{0: int, 1: int}|AutoFilter|string $autoFilterOrRange
1948+ * @param AddressRange<CellAddress> |array{0: int, 1: int, 2: int, 3: int}|array{0: int, 1: int}|AutoFilter|string $autoFilterOrRange
19491949 * A simple string containing a Cell range like 'A1:E10' is permitted for backward compatibility
19501950 * or passing in an array of [$fromColumnIndex, $fromRow, $toColumnIndex, $toRow] (e.g. [3, 5, 6, 8]),
19511951 * or an AddressRange.
@@ -2691,7 +2691,7 @@ public function setSelectedCell(string $coordinate): static
26912691 /**
26922692 * Select a range of cells.
26932693 *
2694- * @param AddressRange|array{0: int, 1: int, 2: int, 3: int}|array{0: int, 1: int}|CellAddress|int|string $coordinate A simple string containing a Cell range like 'A1:E10'
2694+ * @param AddressRange<CellAddress> |array{0: int, 1: int, 2: int, 3: int}|array{0: int, 1: int}|CellAddress|int|string $coordinate A simple string containing a Cell range like 'A1:E10'
26952695 * or passing in an array of [$fromColumnIndex, $fromRow, $toColumnIndex, $toRow] (e.g. [3, 5, 6, 8]),
26962696 * or a CellAddress or AddressRange object.
26972697 *
0 commit comments