mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-03 05:29:53 +09:00
Update to laravel 7
This commit is contained in:
7
vendor/symfony/mime/Part/AbstractPart.php
vendored
7
vendor/symfony/mime/Part/AbstractPart.php
vendored
@@ -15,8 +15,6 @@ use Symfony\Component\Mime\Header\Headers;
|
||||
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental in 4.3
|
||||
*/
|
||||
abstract class AbstractPart
|
||||
{
|
||||
@@ -52,6 +50,11 @@ abstract class AbstractPart
|
||||
yield from $this->bodyToIterable();
|
||||
}
|
||||
|
||||
public function asDebugString(): string
|
||||
{
|
||||
return $this->getMediaType().'/'.$this->getMediaSubtype();
|
||||
}
|
||||
|
||||
abstract public function bodyToString(): string;
|
||||
|
||||
abstract public function bodyToIterable(): iterable;
|
||||
|
||||
Reference in New Issue
Block a user