Skip to content

Commit bf12eaa

Browse files
committed
prevent warning on access to undefined variable
1 parent 94f0780 commit bf12eaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/CurlDispatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ protected function exec(Url $url, array $options)
129129
});
130130

131131
$curl->onBody(function ($string, stdClass $data) {
132-
return !$data->isBinary;
132+
return empty($data->isBinary);
133133
});
134134

135135
curl_exec($connection);

0 commit comments

Comments
 (0)