Interfaces already allow the standard carbon immutable, no need for exessive casting

This commit is contained in:
Dane Everitt
2021-01-20 20:25:40 -08:00
parent 1183fdaa57
commit 7abc643dc4
6 changed files with 8 additions and 9 deletions

View File

@@ -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,