diff --git a/app/Service/RequestService.php b/app/Service/RequestService.php index 974355c..c455a87 100644 --- a/app/Service/RequestService.php +++ b/app/Service/RequestService.php @@ -9,7 +9,7 @@ use App\Model\RequestLog; class RequestService extends AbstractService { - public function getRequestLogByToken($token): RequestLog + public function getRequestLogByToken($token): ?RequestLog { return RequestLog::where('request_token', $token)->first(); }