[Mime] fixed wrong logic
This commit is contained in:
parent
0e2ea87199
commit
836970c776
@ -20,7 +20,9 @@ final class EightBitContentEncoder implements ContentEncoderInterface
|
||||
{
|
||||
public function encodeByteStream($stream, int $maxLineLength = 0): iterable
|
||||
{
|
||||
yield from $stream;
|
||||
while (!feof($stream)) {
|
||||
yield fread($stream, 16372);
|
||||
}
|
||||
}
|
||||
|
||||
public function getName(): string
|
||||
|
Reference in New Issue
Block a user