Skip to content

Commit 9d74073

Browse files
committed
Avoids a warning about the undefined variable in the case file_get_contents fails
1 parent afe13eb commit 9d74073

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/recurly/http_adapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ public function execute($method, $url, $body, $headers): array
5252
}
5353
}
5454
}
55-
return [$result, $http_response_header];
55+
return [$result, $http_response_header ?? null];
5656
}
5757
}

0 commit comments

Comments
 (0)