From 45b11906da1fa2d905eb1994c8a23386acb73596 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 22 Jan 2026 20:53:59 +0000 Subject: [PATCH] Apply fixes from StyleCI --- poll-billing.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/poll-billing.php b/poll-billing.php index 13af3089516f..e3be9708f52a 100755 --- a/poll-billing.php +++ b/poll-billing.php @@ -31,7 +31,7 @@ $scheduler = LibrenmsConfig::get('schedule_type.billing'); if (! isset($options['f']) && $scheduler != 'legacy' && $scheduler != 'cron') { - Log::debug("Billing is not enabled for cron scheduling. Add the -f command argument if you want to force this command to run."); + Log::debug('Billing is not enabled for cron scheduling. Add the -f command argument if you want to force this command to run.'); exit(0); } @@ -98,7 +98,7 @@ } //////////////////////////////////CountersValidation$DB-Update //For debugging - Log::debug("****$now: " . $bill->bill_name . " Billing DB SNMP counters received."); + Log::debug("****$now: " . $bill->bill_name . ' Billing DB SNMP counters received.'); Log::debug('in_measurement: ' . $port_data['in_measurement'] . ' out_measurement: ' . $port_data['out_measurement'] . "\nThe data types are. in_measurement:" . gettype($port_data['in_measurement']) . ' and out_measurement: ' . gettype($port_data['out_measurement'])); Log::debug('IN_delta: ' . $port_data['in_delta'] . ' OUT_delta: ' . $port_data['out_delta'] . "\nLast_IN_delta: " . ($port_data['last_in_delta'] ?? '') . ' last_OUT_delta: ' . ($port_data['last_out_delta'] ?? ''));