Skip to content

Commit 8413f6f

Browse files
committed
Merge pull request #81 from ptarjan/patch-1
Don't take curl callback by ref
2 parents 7cce95a + 42a9aa2 commit 8413f6f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

S3.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2303,11 +2303,11 @@ private function __dnsBucketName($bucket)
23032303
/**
23042304
* CURL header callback
23052305
*
2306-
* @param resource &$curl CURL resource
2307-
* @param string &$data Data
2306+
* @param resource $curl CURL resource
2307+
* @param string $data Data
23082308
* @return integer
23092309
*/
2310-
private function __responseHeaderCallback(&$curl, &$data)
2310+
private function __responseHeaderCallback($curl, $data)
23112311
{
23122312
if (($strlen = strlen($data)) <= 2) return $strlen;
23132313
if (substr($data, 0, 4) == 'HTTP')

0 commit comments

Comments
 (0)