Skip to content

Commit 1a33bb8

Browse files
committed
Don't take curl callback by ref
Changing these does nothing to the caller, why would you take them by ref? HHVM doesn't promote this to refs if they can't be modified: facebook/hhvm#2587
1 parent 7cce95a commit 1a33bb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

S3.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2307,7 +2307,7 @@ private function __dnsBucketName($bucket)
23072307
* @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)