service->expire_overdue(); $this->service->close_stale_approvals( new \DateTimeImmutable( 'now' ) ); } /** * Unschedule the sweep (deactivation). */ public static function unschedule(): void { wp_clear_scheduled_hook( self::HOOK ); } }