mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-05 06:23:53 +09:00
Update to laravel 7
This commit is contained in:
@@ -13,8 +13,6 @@ namespace Symfony\Component\Mime\Encoder;
|
||||
|
||||
/**
|
||||
* @author Lars Strojny
|
||||
*
|
||||
* @experimental in 4.3
|
||||
*/
|
||||
final class QpContentEncoder implements ContentEncoderInterface
|
||||
{
|
||||
@@ -25,10 +23,6 @@ final class QpContentEncoder implements ContentEncoderInterface
|
||||
}
|
||||
|
||||
// we don't use PHP stream filters here as the content should be small enough
|
||||
if (stream_get_meta_data($stream)['seekable'] ?? false) {
|
||||
rewind($stream);
|
||||
}
|
||||
|
||||
yield $this->encodeString(stream_get_contents($stream), 'utf-8', 0, $maxLineLength);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user