🔧
This commit is contained in:
@@ -20,7 +20,7 @@ class HttpTransportException extends TransportException
|
||||
{
|
||||
private ResponseInterface $response;
|
||||
|
||||
public function __construct(string $message, ResponseInterface $response, int $code = 0, \Throwable $previous = null)
|
||||
public function __construct(string $message, ResponseInterface $response, int $code = 0, ?\Throwable $previous = null)
|
||||
{
|
||||
parent::__construct($message, $code, $previous);
|
||||
|
||||
|
||||
16
vendor/symfony/mailer/Exception/UnexpectedResponseException.php
vendored
Normal file
16
vendor/symfony/mailer/Exception/UnexpectedResponseException.php
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\Mailer\Exception;
|
||||
|
||||
class UnexpectedResponseException extends TransportException
|
||||
{
|
||||
}
|
||||
@@ -78,7 +78,7 @@ class UnsupportedSchemeException extends LogicException
|
||||
],
|
||||
];
|
||||
|
||||
public function __construct(Dsn $dsn, string $name = null, array $supported = [])
|
||||
public function __construct(Dsn $dsn, ?string $name = null, array $supported = [])
|
||||
{
|
||||
$provider = $dsn->getScheme();
|
||||
if (false !== $pos = strpos($provider, '+')) {
|
||||
|
||||
Reference in New Issue
Block a user