This commit is contained in:
2021-09-18 18:03:47 +08:00
parent 8b943076a1
commit d77f5b16c3
2 changed files with 2 additions and 11 deletions
-9
View File
@@ -113,15 +113,6 @@ class Response implements ResponseInterface
return $this->hasHeader('Content-Type');
}
/**
* @return string
*/
#[Pure] public function getContentType(): string
{
return $this->getHeaderLine('Content-Type');
}
/**
* @param string|null $value
* @return Response