Skip to content

Commit 28d5715

Browse files
authored
Merge pull request #1 from johanrg/patch
Removed reference from $data parameter in __responseWriteCallback
2 parents 4d09f5d + a20e385 commit 28d5715

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/SimpleEmailServiceRequest.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,7 @@ public function __destruct() {
232232
* @param string $data Data
233233
* @return integer
234234
*/
235-
private function __responseWriteCallback($curl, &$data) {
236-
235+
private function __responseWriteCallback($curl, $data) {
237236
if (!isset($this->response->body)) {
238237
$this->response->body = $data;
239238
} else {
@@ -339,4 +338,4 @@ private function __getAuthHeaderV4($amz_datetime, $query) {
339338
'Signature=' . $signature
340339
));
341340
}
342-
}
341+
}

0 commit comments

Comments
 (0)