Update to laravel 7

This commit is contained in:
KodeStar
2022-03-10 11:54:29 +00:00
parent 61a5a1a8b0
commit f9a19fce91
7170 changed files with 274189 additions and 283773 deletions

View File

@@ -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;