From 5e5be142f6cfd4bbe5cafea75ac58c0e7f2d4ec6 Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Fri, 5 Oct 2018 11:18:21 +1000 Subject: [PATCH] Fix incorrect docblock --- src/PhpSpreadsheet/Calculation/LookupRef.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PhpSpreadsheet/Calculation/LookupRef.php b/src/PhpSpreadsheet/Calculation/LookupRef.php index 8bd778d9..9a2937fb 100644 --- a/src/PhpSpreadsheet/Calculation/LookupRef.php +++ b/src/PhpSpreadsheet/Calculation/LookupRef.php @@ -325,7 +325,7 @@ class LookupRef * 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 @@ -348,7 +348,7 @@ class LookupRef $columns = Functions::flattenSingleValue($columns); $height = Functions::flattenSingleValue($height); $width = Functions::flattenSingleValue($width); - if ($cellAddress == null) { + if ($cellAddress === null) { return 0; }