From ebda3fdda1336f5f565fcbe7ff5fbba84cfb66bd Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Wed, 13 Sep 2023 00:01:15 +0800 Subject: [PATCH] Drop dead code --- src/PhpSpreadsheet/Calculation/LookupRef/ExcelMatch.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/PhpSpreadsheet/Calculation/LookupRef/ExcelMatch.php b/src/PhpSpreadsheet/Calculation/LookupRef/ExcelMatch.php index 5cd70de9e..668290e00 100644 --- a/src/PhpSpreadsheet/Calculation/LookupRef/ExcelMatch.php +++ b/src/PhpSpreadsheet/Calculation/LookupRef/ExcelMatch.php @@ -63,7 +63,6 @@ class ExcelMatch $lookupValue = StringHelper::strToLower($lookupValue); } - $valueKey = null; $valueKey = match ($matchType) { self::MATCHTYPE_LARGEST_VALUE => self::matchLargestValue($lookupArray, $lookupValue, $keySet), self::MATCHTYPE_FIRST_VALUE => self::matchFirstValue($lookupArray, $lookupValue),