minor #39464 [Mailer] [Amazon] Fix @param annotation (OskarStark)

This PR was merged into the 4.4 branch.

Discussion
----------

[Mailer] [Amazon] Fix @param annotation

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | ---
| License       | MIT
| Doc PR        | ---

Commits
-------

514881c708 [Mailer] [Amazon] Fix @param annotation
This commit is contained in:
Maxime Steinhausser 2020-12-11 15:11:17 +01:00
commit 7f49e15f40
3 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ class SesApiTransport extends AbstractApiTransport
private $region;
/**
* @param string $region Amazon SES region (currently one of us-east-1, us-west-2, or eu-west-1)
* @param string|null $region Amazon SES region (currently one of us-east-1, us-west-2, or eu-west-1)
*/
public function __construct(string $accessKey, string $secretKey, string $region = null, HttpClientInterface $client = null, EventDispatcherInterface $dispatcher = null, LoggerInterface $logger = null)
{

View File

@ -31,7 +31,7 @@ class SesHttpTransport extends AbstractHttpTransport
private $region;
/**
* @param string $region Amazon SES region (currently one of us-east-1, us-west-2, or eu-west-1)
* @param string|null $region Amazon SES region (currently one of us-east-1, us-west-2, or eu-west-1)
*/
public function __construct(string $accessKey, string $secretKey, string $region = null, HttpClientInterface $client = null, EventDispatcherInterface $dispatcher = null, LoggerInterface $logger = null)
{

View File

@ -21,7 +21,7 @@ use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
class SesSmtpTransport extends EsmtpTransport
{
/**
* @param string $region Amazon SES region (currently one of us-east-1, us-west-2, or eu-west-1)
* @param string|null $region Amazon SES region (currently one of us-east-1, us-west-2, or eu-west-1)
*/
public function __construct(string $username, string $password, string $region = null, EventDispatcherInterface $dispatcher = null, LoggerInterface $logger = null)
{