This commit is contained in:
2023-04-16 15:23:02 +08:00
parent 3e2307fc46
commit 2c3eed0b7a
+1 -1
View File
@@ -22,7 +22,7 @@ class Response implements ResponseInterface
* @param ContentType $contentType
* @return Response
*/
public function withContentType(ContentType $contentType): static
public function withContentType(ContentType $contentType): ResponseInterface
{
return $this->__call__(__FUNCTION__, $contentType);
}