@@ -45,11 +45,11 @@ |
||
| 45 | 45 | * |
| 46 | 46 | * @param null|string|ViewModel|array $bodyOrConfig |
| 47 | 47 | * @param null|string $subject |
| 48 | - * @param null|array $to |
|
| 48 | + * @param string[] $to |
|
| 49 | 49 | * @param null|string|array $from |
| 50 | - * @param null|array $cc |
|
| 51 | - * @param null|array $bcc |
|
| 52 | - * @param null|array $attachments |
|
| 50 | + * @param string[] $cc |
|
| 51 | + * @param string[] $bcc |
|
| 52 | + * @param string[] $attachments |
|
| 53 | 53 | * @return MailServiceInterface|ResultInterface |
| 54 | 54 | */ |
| 55 | 55 | public function __invoke( |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | * @param ContainerInterface $container |
| 25 | 25 | * @param string $requestedName |
| 26 | 26 | * @param null|array $options |
| 27 | - * @return object |
|
| 27 | + * @return MailOptions |
|
| 28 | 28 | * @throws ServiceNotFoundException if unable to resolve the service. |
| 29 | 29 | * @throws ServiceNotCreatedException if an exception is raised when |
| 30 | 30 | * creating a service. |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | * @param ContainerInterface $container |
| 42 | 42 | * @param string $requestedName |
| 43 | 43 | * @param null|array $options |
| 44 | - * @return object |
|
| 44 | + * @return MailService |
|
| 45 | 45 | * @throws ServiceNotFoundException if unable to resolve the service. |
| 46 | 46 | * @throws ServiceNotCreatedException if an exception is raised when |
| 47 | 47 | * creating a service. |
@@ -251,7 +251,7 @@ discard block |
||
| 251 | 251 | /** |
| 252 | 252 | * Returns a specific configuration defined by provided key |
| 253 | 253 | * @param ContainerInterface $container |
| 254 | - * @param $configKey |
|
| 254 | + * @param string $configKey |
|
| 255 | 255 | * @return array |
| 256 | 256 | */ |
| 257 | 257 | protected function getSpecificConfig(ContainerInterface $container, $configKey) |
@@ -385,7 +385,7 @@ |
||
| 385 | 385 | * Attaches a new MailListenerInterface |
| 386 | 386 | * @param MailListenerInterface $mailListener |
| 387 | 387 | * @param int $priority |
| 388 | - * @return mixed|void |
|
| 388 | + * @return MailService |
|
| 389 | 389 | */ |
| 390 | 390 | public function attachMailListener(MailListenerInterface $mailListener, $priority = 1) |
| 391 | 391 | { |