| @@ -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 |      { | 
| @@ -2,7 +2,6 @@ | ||
| 2 | 2 | namespace AcMailerTest\Controller\Plugin; | 
| 3 | 3 | |
| 4 | 4 | use AcMailer\Controller\Plugin\Factory\SendMailPluginAbstractFactory; | 
| 5 | -use AcMailer\Factory\AbstractAcMailerFactory; | |
| 6 | 5 | use AcMailer\Service\Factory\MailServiceAbstractFactory; | 
| 7 | 6 | use AcMailer\Service\MailServiceMock; | 
| 8 | 7 | use PHPUnit_Framework_TestCase as TestCase; | 
| @@ -1,12 +1,9 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | namespace AcMailerTest\Options; | 
| 3 | 3 | |
| 4 | -use AcMailer\Options\AttachmentsOptions; | |
| 5 | 4 | use AcMailer\Options\MailOptions; | 
| 6 | 5 | use AcMailer\Exception\InvalidArgumentException; | 
| 7 | 6 | use AcMailer\Options\MessageOptions; | 
| 8 | -use AcMailer\Options\TemplateOptions; | |
| 9 | -use AcMailer\Service\MailServiceInterface; | |
| 10 | 7 | use Zend\Mail\Transport\FileOptions; | 
| 11 | 8 | use Zend\Mail\Transport\Sendmail; | 
| 12 | 9 | use Zend\Mail\Transport\Smtp; | 
| @@ -2,11 +2,8 @@ | ||
| 2 | 2 | namespace AcMailerTest\Service; | 
| 3 | 3 | |
| 4 | 4 | use AcMailer\Event\MailEvent; | 
| 5 | -use AcMailer\Event\MailListenerAwareInterface; | |
| 6 | 5 | use AcMailer\Options\MailOptions; | 
| 7 | 6 | use AcMailer\Service\Factory\MailServiceAbstractFactory; | 
| 8 | -use AcMailer\Service\Factory\MailServiceFactory; | |
| 9 | -use AcMailer\Service\MailServiceInterface; | |
| 10 | 7 | use AcMailerTest\Event\MailListenerMock; | 
| 11 | 8 | use AcMailerTest\ServiceManager\ServiceManagerMock; | 
| 12 | 9 | use Zend\EventManager\EventManagerAwareInterface; |