updated boolean and interger to php8.5 standard

This commit is contained in:
2026-09-07 17:59:50 -04:00
parent 1a643d7935
commit c17b611cc6
12 changed files with 492 additions and 21 deletions
+3 -3
View File
@@ -215,7 +215,7 @@ class Reports extends Base {
$reports = $this->getTable("reports", $SQL);
return (integer) ($reports->record->report_serial ?? 0);
return (int) ($reports->record->report_serial ?? 0);
}
// =======================
@@ -268,7 +268,7 @@ class Reports extends Base {
$recordset = $statement->fetch(PDO::FETCH_ASSOC);
$count = (count($recordset) > 0) ? (integer) $recordset["count"] : (integer) 0;
$count = (count($recordset) > 0) ? (int) $recordset["count"] : (int) 0;
// Pagination
@@ -357,7 +357,7 @@ class Reports extends Base {
$recordset = $statement->fetch(PDO::FETCH_ASSOC);
$count = (count($recordset) > 0) ? (integer) $recordset["count"] : (integer) 0;
$count = (count($recordset) > 0) ? (int) $recordset["count"] : (int) 0;
// Pagination