Skip to content

Commit

Permalink
Merge d2a659a into 69bc603
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanruzak committed Dec 14, 2023
2 parents 69bc603 + d2a659a commit 5ccfb56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use GuzzleHttp\Psr7\MultipartStream;
use GuzzleHttp\Psr7\Request;
use function GuzzleHttp\Psr7\stream_for;
use GuzzleHttp\Psr7\Utils;

class Client implements ClientInterface
{
Expand Down Expand Up @@ -92,7 +92,7 @@ public function setClient($client)
*/
public function transfer($body, $type = 'xml')
{
$post_body = stream_for($body);
$post_body = Utils::streamFor($body);
$multipart = new MultipartStream([
[
'name' => 'fil',
Expand Down

0 comments on commit 5ccfb56

Please sign in to comment.