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:
parent
0ce8509a8c
commit
af9253d9e0
|
|
@ -1337,7 +1337,7 @@ class Worksheet implements IComparable
|
||||||
* @param int $pRow Numeric index of the row
|
* @param int $pRow Numeric index of the row
|
||||||
* @param bool $create
|
* @param bool $create
|
||||||
*
|
*
|
||||||
* @return RowDimension
|
* @return null|RowDimension
|
||||||
*/
|
*/
|
||||||
public function getRowDimension($pRow, $create = true)
|
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 string $pColumn String index of the column eg: 'A'
|
||||||
* @param bool $create
|
* @param bool $create
|
||||||
*
|
*
|
||||||
* @return ColumnDimension
|
* @return null|ColumnDimension
|
||||||
*/
|
*/
|
||||||
public function getColumnDimension($pColumn, $create = true)
|
public function getColumnDimension($pColumn, $create = true)
|
||||||
{
|
{
|
||||||
|
|
@ -1390,7 +1390,7 @@ class Worksheet implements IComparable
|
||||||
*
|
*
|
||||||
* @param int $columnIndex Numeric column coordinate of the cell
|
* @param int $columnIndex Numeric column coordinate of the cell
|
||||||
*
|
*
|
||||||
* @return ColumnDimension
|
* @return null|ColumnDimension
|
||||||
*/
|
*/
|
||||||
public function getColumnDimensionByColumn($columnIndex)
|
public function getColumnDimensionByColumn($columnIndex)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue