diff --git a/src/PhpSpreadsheet/Calculation/Statistical.php b/src/PhpSpreadsheet/Calculation/Statistical.php index 1a47a3a5..a7f7bb63 100644 --- a/src/PhpSpreadsheet/Calculation/Statistical.php +++ b/src/PhpSpreadsheet/Calculation/Statistical.php @@ -1155,7 +1155,7 @@ class Statistical // Return value $returnValue = 0; - if (!$arrayList) { + if (empty($arrayList)) { return $returnValue; }