This commit is contained in:
2023-04-16 13:53:00 +08:00
parent 8e512dcc0e
commit 16da8474e9
+1 -2
View File
@@ -24,8 +24,7 @@ class Response implements ResponseInterface
*/ */
public function withContentType(ContentType $contentType): static public function withContentType(ContentType $contentType): static
{ {
$this->contentType = $contentType; return $this->__call__(__FUNCTION__, $contentType);
return $this;
} }