From 4e68b0efab72ff1f42ff5f5c0d57ba4a6d4814d4 Mon Sep 17 00:00:00 2001 From: Ahmad Nassri Date: Wed, 17 Dec 2014 21:00:47 -0500 Subject: [PATCH] PSR: CamelCaps --- lib/Unirest/HttpResponse.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Unirest/HttpResponse.php b/lib/Unirest/HttpResponse.php index 0346064..480ec0c 100644 --- a/lib/Unirest/HttpResponse.php +++ b/lib/Unirest/HttpResponse.php @@ -18,7 +18,7 @@ class HttpResponse public function __construct($code, $raw_body, $headers, $json_decode_assoc = false) { $this->code = $code; - $this->headers = $this->get_headers_from_curl_response($headers); + $this->headers = $this->GetHeadersFromCurlResponse($headers); $this->raw_body = $raw_body; $this->body = $raw_body; $json = json_decode($raw_body, $json_decode_assoc); @@ -60,7 +60,7 @@ class HttpResponse * @param string $headers header string from cURL response * @return array */ - private function get_headers_from_curl_response($headers) + private function GetHeadersFromCurlResponse($headers) { $result = array(); $headers = explode("\r\n", $headers);