Skip to content

Commit

Permalink
Fix incorrect docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerKiKi committed Oct 5, 2018
1 parent 1e5be30 commit 5e5be14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PhpSpreadsheet/Calculation/LookupRef.php
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ public static function INDIRECT($cellAddress = null, Cell $pCell = null)
* Excel Function:
* =OFFSET(cellAddress, rows, cols, [height], [width])
*
* @param null|array|string $cellAddress The reference from which you want to base the offset. Reference must refer to a cell or
* @param null|string $cellAddress The reference from which you want to base the offset. Reference must refer to a cell or
* range of adjacent cells; otherwise, OFFSET returns the #VALUE! error value.
* @param mixed $rows The number of rows, up or down, that you want the upper-left cell to refer to.
* Using 5 as the rows argument specifies that the upper-left cell in the reference is
Expand All @@ -348,7 +348,7 @@ public static function OFFSET($cellAddress = null, $rows = 0, $columns = 0, $hei
$columns = Functions::flattenSingleValue($columns);
$height = Functions::flattenSingleValue($height);
$width = Functions::flattenSingleValue($width);
if ($cellAddress == null) {
if ($cellAddress === null) {
return 0;
}

Expand Down

0 comments on commit 5e5be14

Please sign in to comment.