@@ -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) |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | |
| 93 | 93 | /** |
| 94 | 94 | * Alias for method setMailAdapter |
| 95 | - * @param string|TransportInterface $transport |
|
| 95 | + * @param string $transport |
|
| 96 | 96 | * @return $this |
| 97 | 97 | */ |
| 98 | 98 | public function setTransport($transport) |
@@ -206,7 +206,7 @@ discard block |
||
| 206 | 206 | } |
| 207 | 207 | |
| 208 | 208 | /** |
| 209 | - * @param array $mailListeners |
|
| 209 | + * @param integer[] $mailListeners |
|
| 210 | 210 | * @return $this |
| 211 | 211 | */ |
| 212 | 212 | public function setMailListeners($mailListeners) |
@@ -385,7 +385,7 @@ discard block |
||
| 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 | { |
@@ -405,7 +405,7 @@ discard block |
||
| 405 | 405 | } |
| 406 | 406 | |
| 407 | 407 | /** |
| 408 | - * @param TransportInterface $transport |
|
| 408 | + * @param \AcMailerTest\Mail\Transport\MockTransport $transport |
|
| 409 | 409 | * @return $this |
| 410 | 410 | */ |
| 411 | 411 | public function setTransport(TransportInterface $transport) |
@@ -189,7 +189,7 @@ discard block |
||
| 189 | 189 | |
| 190 | 190 | /** |
| 191 | 191 | * @param RendererInterface $renderer |
| 192 | - * @return mixed |
|
| 192 | + * @return MailServiceMock |
|
| 193 | 193 | */ |
| 194 | 194 | public function setRenderer(RendererInterface $renderer) |
| 195 | 195 | { |
@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | |
| 200 | 200 | /** |
| 201 | 201 | * @param TransportInterface $transport |
| 202 | - * @return mixed |
|
| 202 | + * @return MailServiceMock |
|
| 203 | 203 | */ |
| 204 | 204 | public function setTransport(TransportInterface $transport) |
| 205 | 205 | { |