We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f683263 commit d44de17Copy full SHA for d44de17
lib/Gitlab/HttpClient/Message/Response.php
@@ -12,7 +12,7 @@ class Response extends BaseResponse
12
public function getContent()
13
{
14
$response = parent::getContent();
15
- if (parent::getHeader("Content-Type") === "application/json") {
+ if ($this->getHeader("Content-Type") === "application/json") {
16
$content = json_decode($response, true);
17
18
if (JSON_ERROR_NONE !== json_last_error()) {
0 commit comments