@@ -18,7 +18,7 @@ |
||
18 | 18 | * Create service |
19 | 19 | * |
20 | 20 | * @param ServiceLocatorInterface $serviceLocator |
21 | - * @return mixed |
|
21 | + * @return ConfigMigrationController |
|
22 | 22 | */ |
23 | 23 | public function createService(ServiceLocatorInterface $serviceLocator) |
24 | 24 | { |
@@ -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( |
@@ -37,9 +37,9 @@ discard block |
||
37 | 37 | * Create service with name |
38 | 38 | * |
39 | 39 | * @param ServiceLocatorInterface $sm |
40 | - * @param $name |
|
41 | - * @param $requestedName |
|
42 | - * @return mixed |
|
40 | + * @param string $name |
|
41 | + * @param string $requestedName |
|
42 | + * @return MailService |
|
43 | 43 | */ |
44 | 44 | public function createServiceWithName(ServiceLocatorInterface $sm, $name, $requestedName) |
45 | 45 | { |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | /** |
244 | 244 | * Returns a specific configuration defined by provided key |
245 | 245 | * @param ServiceLocatorInterface $sm |
246 | - * @param $configKey |
|
246 | + * @param string $configKey |
|
247 | 247 | * @return array |
248 | 248 | */ |
249 | 249 | protected function getSpecificConfig(ServiceLocatorInterface $sm, $configKey) |
@@ -356,7 +356,7 @@ discard block |
||
356 | 356 | /** |
357 | 357 | * Inject an EventManager instance |
358 | 358 | * @param EventManagerInterface $events |
359 | - * @return $this|void |
|
359 | + * @return MailService |
|
360 | 360 | */ |
361 | 361 | public function setEventManager(EventManagerInterface $events) |
362 | 362 | { |
@@ -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 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | use AcMailer\Event\MailEvent; |
5 | 5 | use AcMailer\Options\MailOptions; |
6 | 6 | use AcMailer\Service\Factory\MailServiceAbstractFactory; |
7 | -use AcMailer\Service\Factory\MailServiceFactory; |
|
8 | 7 | use AcMailerTest\Event\MailListenerMock; |
9 | 8 | use AcMailerTest\ServiceManager\ServiceManagerMock; |
10 | 9 | use Zend\EventManager\EventManagerAwareInterface; |