Skip to content

Commit d44de17

Browse files
'$this' is better than 'parent'
1 parent f683263 commit d44de17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Gitlab/HttpClient/Message/Response.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Response extends BaseResponse
1212
public function getContent()
1313
{
1414
$response = parent::getContent();
15-
if (parent::getHeader("Content-Type") === "application/json") {
15+
if ($this->getHeader("Content-Type") === "application/json") {
1616
$content = json_decode($response, true);
1717

1818
if (JSON_ERROR_NONE !== json_last_error()) {

0 commit comments

Comments
 (0)