Skip to content

Commit

Permalink
chore: remove fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
fox-john committed Jun 11, 2024
1 parent 6beed1a commit 26ba490
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
1 change: 1 addition & 0 deletions src/Api/Post/MultipartBody.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use GuzzleHttp\Psr7\AppendStream;
use GuzzleHttp\Psr7\StreamDecoratorTrait;
use Psr\Http\Message\StreamInterface;
use PrestaShop\Module\PsEventbus\Api\Post\Stream;

/**
* Stream that when read returns bytes for a streaming multipart/form-data body
Expand Down
10 changes: 0 additions & 10 deletions src/Api/Post/Stream.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,16 +264,6 @@ public function seek($offset, $whence = SEEK_SET)
return $this->seekable && fseek($this->stream, $offset, $whence) === 0;
}

/**
* @param int<0, max> $length
*
* @return false|string
*/
public function read($length)
{
return $this->readable ? fread($this->stream, $length) : false;
}

/**
* @param string $string
*
Expand Down

0 comments on commit 26ba490

Please sign in to comment.