modify
This commit is contained in:
@@ -62,7 +62,7 @@ class HttpHeaders
|
|||||||
*/
|
*/
|
||||||
public function getContentType(): string
|
public function getContentType(): string
|
||||||
{
|
{
|
||||||
return $this->_headers['content-type'];
|
return $this->_headers['content-type'] ?? '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user