chore: implement coderabbitai recommendations

This commit is contained in:
Tom Mortensen
2025-01-29 09:34:40 -08:00
parent c968453dd7
commit 614b018d72

View File

@@ -125,7 +125,7 @@ function presetSpace($val) {
} else if (!empty($fsSize)) {
$fsSize[''] = $fsSize[$pool];
} else {
$fsSize[''] = "0";
$fsSize[''] = 0;
}
/* Get the cache pool size */
@@ -265,7 +265,7 @@ function fsFree() {
$fsFree[''] = min(array_filter($fsFree));
} else {
/* The minimum free space cannot be determined from the array or pools so it is set to zero */
$fsFree[''] = "0";
$fsFree[''] = 0;
}
/* Return the free filesystem space as a JSON encoded string */