mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-03 21:49:56 +09:00
Update to laravel 7
This commit is contained in:
@@ -15,8 +15,6 @@ use Symfony\Component\Mime\CharacterStream;
|
||||
|
||||
/**
|
||||
* @author Chris Corbyn
|
||||
*
|
||||
* @experimental in 4.3
|
||||
*/
|
||||
final class Rfc2231Encoder implements EncoderInterface
|
||||
{
|
||||
@@ -39,7 +37,7 @@ final class Rfc2231Encoder implements EncoderInterface
|
||||
|
||||
while (null !== $char = $charStream->read(4)) {
|
||||
$encodedChar = rawurlencode($char);
|
||||
if (0 !== \strlen($currentLine) && \strlen($currentLine.$encodedChar) > $thisLineLength) {
|
||||
if ('' !== $currentLine && \strlen($currentLine.$encodedChar) > $thisLineLength) {
|
||||
$lines[] = '';
|
||||
$currentLine = &$lines[$lineCount++];
|
||||
$thisLineLength = $maxLineLength;
|
||||
|
||||
Reference in New Issue
Block a user