mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-21 00:50:07 +00:00
Fix code quality with rector [skip ci]
This commit is contained in:
@@ -24,6 +24,7 @@ declare(strict_types=1);
|
||||
|
||||
namespace FireflyIII\Http\Controllers\System;
|
||||
|
||||
use Illuminate\Support\Facades\Log;
|
||||
use Illuminate\Contracts\Foundation\Application;
|
||||
use Illuminate\Contracts\Routing\ResponseFactory;
|
||||
use Illuminate\Http\Response;
|
||||
@@ -36,9 +37,9 @@ class CronController
|
||||
/**
|
||||
* @return Application|Response|ResponseFactory
|
||||
*/
|
||||
public function cron()
|
||||
public function cron(): ResponseFactory|Response
|
||||
{
|
||||
app('log')->error('The cron endpoint has moved to GET /api/v1/cron/[token]');
|
||||
Log::error('The cron endpoint has moved to GET /api/v1/cron/[token]');
|
||||
|
||||
return response('The cron endpoint has moved to GET /api/v1/cron/[token]', 500);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user