@@ -1384,7 +1384,7 @@ public function getStyles(): array
1384
1384
/**
1385
1385
* Get style for cell.
1386
1386
*
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
1388
1388
* A simple string containing a cell address like 'A1' or a cell range like 'A1:E10'
1389
1389
* or passing in an array of [$fromColumnIndex, $fromRow, $toColumnIndex, $toRow] (e.g. [3, 5, 6, 8]),
1390
1390
* or a CellAddress or AddressRange object.
@@ -1688,7 +1688,7 @@ public function getColumnBreaks(): array
1688
1688
/**
1689
1689
* Set merge on a cell range.
1690
1690
*
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'
1692
1692
* or passing in an array of [$fromColumnIndex, $fromRow, $toColumnIndex, $toRow] (e.g. [3, 5, 6, 8]),
1693
1693
* or an AddressRange.
1694
1694
* @param string $behaviour How the merged cells should behave.
@@ -1813,7 +1813,7 @@ public function mergeCellBehaviour(Cell $cell, string $upperLeft, string $behavi
1813
1813
/**
1814
1814
* Remove merge on a cell range.
1815
1815
*
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'
1817
1817
* or passing in an array of [$fromColumnIndex, $fromRow, $toColumnIndex, $toRow] (e.g. [3, 5, 6, 8]),
1818
1818
* or an AddressRange.
1819
1819
*
@@ -1864,7 +1864,7 @@ public function setMergeCells(array $mergeCells): static
1864
1864
/**
1865
1865
* Set protection on a cell or cell range.
1866
1866
*
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'
1868
1868
* or passing in an array of [$fromColumnIndex, $fromRow, $toColumnIndex, $toRow] (e.g. [3, 5, 6, 8]),
1869
1869
* or a CellAddress or AddressRange object.
1870
1870
* @param string $password Password to unlock the protection
@@ -1887,7 +1887,7 @@ public function protectCells(AddressRange|CellAddress|int|string|array $range, s
1887
1887
/**
1888
1888
* Remove protection on a cell or cell range.
1889
1889
*
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'
1891
1891
* or passing in an array of [$fromColumnIndex, $fromRow, $toColumnIndex, $toRow] (e.g. [3, 5, 6, 8]),
1892
1892
* or a CellAddress or AddressRange object.
1893
1893
*
@@ -1945,7 +1945,7 @@ public function getAutoFilter(): AutoFilter
1945
1945
/**
1946
1946
* Set AutoFilter.
1947
1947
*
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
1949
1949
* A simple string containing a Cell range like 'A1:E10' is permitted for backward compatibility
1950
1950
* or passing in an array of [$fromColumnIndex, $fromRow, $toColumnIndex, $toRow] (e.g. [3, 5, 6, 8]),
1951
1951
* or an AddressRange.
@@ -2691,7 +2691,7 @@ public function setSelectedCell(string $coordinate): static
2691
2691
/**
2692
2692
* Select a range of cells.
2693
2693
*
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'
2695
2695
* or passing in an array of [$fromColumnIndex, $fromRow, $toColumnIndex, $toRow] (e.g. [3, 5, 6, 8]),
2696
2696
* or a CellAddress or AddressRange object.
2697
2697
*
0 commit comments