Revert "fix: resolve PHPStan static analysis warnings"

This reverts commit b885e644a8.
This commit is contained in:
xboard committed 2025-04-14 21:23:08 +08:00
1 parent b885e644a8
commit ea424ad0a8
84 files changed
+1190 -2330

No files matched your search

+3 -3
View File
@@ -42,9 +42,9 @@ class Kernel extends ConsoleKernel
// horizon metrics
$schedule->command('horizon:snapshot')->everyFiveMinutes()->onOneServer();
// backup Timing
// if (env('ENABLE_AUTO_BACKUP_AND_UPDATE', false)) {
// $schedule->command('backup:database', ['true'])->daily()->onOneServer();
// }
if (env('ENABLE_AUTO_BACKUP_AND_UPDATE', false)) {
$schedule->command('backup:database', ['true'])->daily()->onOneServer();
}
// 每分钟清理过期的在线状态
$schedule->call(function () {
app(UserOnlineService::class)->cleanExpiredOnlineStatus();