Skip to content

Commit

Permalink
fix php 5.3 compatibility break
Browse files Browse the repository at this point in the history
  • Loading branch information
amouhzi authored Sep 5, 2018
1 parent 8fa349f commit 43436a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Curl/Curl.php
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ public function isServerError()
*/
public function getResponseHeaders($headerKey = null)
{
$headers = [];
$headers = array();
$headerKey = strtolower($headerKey);

foreach ($this->response_headers as $header) {
Expand Down

0 comments on commit 43436a6

Please sign in to comment.