From 43436a604b18c2a985cbc3f983be817fbe500e99 Mon Sep 17 00:00:00 2001 From: Hassan Amouhzi Date: Wed, 5 Sep 2018 19:16:47 +0200 Subject: [PATCH] fix php 5.3 compatibility break --- src/Curl/Curl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Curl/Curl.php b/src/Curl/Curl.php index 919c2fb..8c6f093 100644 --- a/src/Curl/Curl.php +++ b/src/Curl/Curl.php @@ -666,7 +666,7 @@ public function isServerError() */ public function getResponseHeaders($headerKey = null) { - $headers = []; + $headers = array(); $headerKey = strtolower($headerKey); foreach ($this->response_headers as $header) {