mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-15 04:26:25 +00:00
Use empty to check for empty array
This commit is contained in:
@@ -1155,7 +1155,7 @@ class Statistical
|
||||
// Return value
|
||||
$returnValue = 0;
|
||||
|
||||
if (!$arrayList) {
|
||||
if (empty($arrayList)) {
|
||||
return $returnValue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user