Skip to content

Commit 5e5be14

Browse files
committed
Fix incorrect docblock
1 parent 1e5be30 commit 5e5be14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PhpSpreadsheet/Calculation/LookupRef.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ public static function INDIRECT($cellAddress = null, Cell $pCell = null)
325325
* Excel Function:
326326
* =OFFSET(cellAddress, rows, cols, [height], [width])
327327
*
328-
* @param null|array|string $cellAddress The reference from which you want to base the offset. Reference must refer to a cell or
328+
* @param null|string $cellAddress The reference from which you want to base the offset. Reference must refer to a cell or
329329
* range of adjacent cells; otherwise, OFFSET returns the #VALUE! error value.
330330
* @param mixed $rows The number of rows, up or down, that you want the upper-left cell to refer to.
331331
* Using 5 as the rows argument specifies that the upper-left cell in the reference is
@@ -348,7 +348,7 @@ public static function OFFSET($cellAddress = null, $rows = 0, $columns = 0, $hei
348348
$columns = Functions::flattenSingleValue($columns);
349349
$height = Functions::flattenSingleValue($height);
350350
$width = Functions::flattenSingleValue($width);
351-
if ($cellAddress == null) {
351+
if ($cellAddress === null) {
352352
return 0;
353353
}
354354

0 commit comments

Comments
 (0)