Skip to content

Commit 19f485a

Browse files
authored
Correct response type
1 parent ffa24ac commit 19f485a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/ApiResponseHelpers.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public function respondTeapot(): JsonResponse
113113
* Bypass apiResponse() and response()->json() entirely — a 204 response
114114
* must not include a body or Content-Type header per RFC 9110.
115115
*/
116-
public function respondNoContent(): JsonResponse
116+
public function respondNoContent(): Response
117117
{
118118
return response('', Response::HTTP_NO_CONTENT);
119119
}

0 commit comments

Comments
 (0)