Add null typehint to Worksheet::getColumnDimension() since it returns null (#1914)

* Add null typehint to `Worksheet::getColumnDimension()` since it can return null
* `getColumnDimensionByColumn()` and `getRowDimension()`
This commit is contained in:
Simon Podlipsky 2021-03-13 12:43:16 +01:00 committed by GitHub
parent 0ce8509a8c
commit af9253d9e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -1337,7 +1337,7 @@ class Worksheet implements IComparable
* @param int $pRow Numeric index of the row
* @param bool $create
*
* @return RowDimension
* @return null|RowDimension
*/
public function getRowDimension($pRow, $create = true)
{
@ -1363,7 +1363,7 @@ class Worksheet implements IComparable
* @param string $pColumn String index of the column eg: 'A'
* @param bool $create
*
* @return ColumnDimension
* @return null|ColumnDimension
*/
public function getColumnDimension($pColumn, $create = true)
{
@ -1390,7 +1390,7 @@ class Worksheet implements IComparable
*
* @param int $columnIndex Numeric column coordinate of the cell
*
* @return ColumnDimension
* @return null|ColumnDimension
*/
public function getColumnDimensionByColumn($columnIndex)
{