Apply PHP Code Styling & Quality Changes (#2682)

Co-authored-by: FOSSBilling Bot <fossbilling-bot>
This commit is contained in:
FOSSBilling BotandFOSSBilling Bot authored and GitHub committed 2025-04-24 16:45:11 +01:00
1 parent 04548f56a2
commit 4e8b87edf6
1 file changed
+2 -1
+2 -1
View File
@@ -49,7 +49,7 @@ class Reader
/**
* Handles updating the built-in, default databases.
* The databases will only be updated if the files do not exist, or if they are over 7 days old.
* This will only update 1 database per call as it's intended to be run in the background and have the work spread out VS all at once.
* This will only update 1 database per call as it's intended to be run in the background and have the work spread out VS all at once.
*
* @throws IOException
*/
@@ -64,6 +64,7 @@ class Reader
if (self::shouldUpdate($path)) {
try {
self::downloadDb($path, $url);
return true;
} catch (\Exception $e) {
error_log('There was an error while updating the IP address database: ' . $e->getMessage());