Skip to content

Commit 257fede

Browse files
authored
Fixed undefined constant
1 parent cc25fa9 commit 257fede

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public function makeRequest($method, $url, $body = null, $headers = null)
166166
$responseHeaders = substr($response, 0, $headerSize);
167167

168168
$responseHeaders = explode("\n", $responseHeaders);
169-
$responseHeaders = array_map(trim, $responseHeaders);
169+
$responseHeaders = array_map('trim', $responseHeaders);
170170

171171
curl_close($curl);
172172

0 commit comments

Comments
 (0)