Completed
Pull Request — master (#130)
by Abdul Malik
04:38 queued 02:31
created
src/Controller/Plugin/SendMailPlugin.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -45,11 +45,11 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
test/Service/MailServiceAbstractFactoryTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Options/Factory/MailOptionsAbstractFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
src/Service/Factory/MailServiceAbstractFactory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/Service/MailService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -385,7 +385,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.