mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 06:13:45 +02:00
Interfaces already allow the standard carbon immutable, no need for exessive casting
This commit is contained in:
@@ -73,7 +73,7 @@ class WebsocketController extends ClientApiController
|
||||
}
|
||||
|
||||
$token = $this->jwtService
|
||||
->setExpiresAt(CarbonImmutable::now()->addMinutes(10)->toDateTimeImmutable())
|
||||
->setExpiresAt(CarbonImmutable::now()->addMinutes(10))
|
||||
->setClaims([
|
||||
'user_id' => $request->user()->id,
|
||||
'server_uuid' => $server->uuid,
|
||||
|
||||
Reference in New Issue
Block a user