From 7c3465851cae56ac59c7aaa9b83580c78946f1c2 Mon Sep 17 00:00:00 2001 From: MarkBaker Date: Thu, 30 May 2019 10:21:32 +0200 Subject: [PATCH] Eliminate duplicate if test --- src/PhpSpreadsheet/Reader/Xlsx.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/PhpSpreadsheet/Reader/Xlsx.php b/src/PhpSpreadsheet/Reader/Xlsx.php index cbf3fedc..30706bac 100644 --- a/src/PhpSpreadsheet/Reader/Xlsx.php +++ b/src/PhpSpreadsheet/Reader/Xlsx.php @@ -980,8 +980,6 @@ class Xlsx extends BaseReader $value = (int) $value; } elseif ($value == (float) $value) { $value = (float) $value; - } elseif ($value == (float) $value) { - $value = (float) $value; } }