Completed
Pull Request — master (#352)
by php-br
61:36
created
src/Oro/Bundle/EmailBundle/Form/Handler/EmailHandler.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,9 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\EmailBundle\Form\Handler;
4 4
 
5 5
 use Psr\Log\LoggerInterface;
6
-
7 6
 use Symfony\Component\Form\FormError;
8 7
 use Symfony\Component\Form\FormInterface;
9 8
 use Symfony\Component\HttpFoundation\Request;
10
-
11 9
 use Oro\Bundle\EmailBundle\Form\Model\Email;
12 10
 use Oro\Bundle\EmailBundle\Mailer\Processor;
13 11
 
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Form/Handler/EmailTemplateHandler.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,12 +3,10 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\EmailBundle\Form\Handler;
4 4
 
5 5
 use Doctrine\Common\Persistence\ObjectManager;
6
-
7 6
 use Symfony\Component\Form\FormError;
8 7
 use Symfony\Component\Form\FormInterface;
9 8
 use Symfony\Component\HttpFoundation\Request;
10 9
 use Symfony\Component\Translation\TranslatorInterface;
11
-
12 10
 use Oro\Bundle\EmailBundle\Entity\EmailTemplate;
13 11
 
14 12
 class EmailTemplateHandler
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Form/Handler/MailboxHandler.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,12 +4,10 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Bundle\DoctrineBundle\Registry;
6 6
 use Doctrine\ORM\EntityManager;
7
-
8 7
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
9 8
 use Symfony\Component\Form\FormFactoryInterface;
10 9
 use Symfony\Component\Form\FormInterface;
11 10
 use Symfony\Component\HttpFoundation\Request;
12
-
13 11
 use Oro\Bundle\EmailBundle\Event\MailboxSaved;
14 12
 use Oro\Bundle\EmailBundle\Entity\Mailbox;
15 13
 use Oro\Bundle\EmailBundle\Form\Type\MailboxType;
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Form/Model/Email.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
     /**
174 174
      * Set parent email id
175 175
      *
176
-     * @param $parentEmailId
176
+     * @param integer $parentEmailId
177 177
      *
178 178
      * @return $this
179 179
      */
@@ -527,7 +527,7 @@  discard block
 block discarded – undo
527 527
     /**
528 528
      * Get organization
529 529
      *
530
-     * @return OrganizationInterface
530
+     * @return OrganizationInterface|null
531 531
      */
532 532
     public function getOrganization()
533 533
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\Collections\ArrayCollection;
6 6
 use Doctrine\Common\Collections\Collection;
7
-
8 7
 use Oro\Bundle\EmailBundle\Entity\EmailTemplate;
9 8
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
10 9
 use Oro\Bundle\OrganizationBundle\Entity\OrganizationAwareInterface;
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Form/Model/EmailApi.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -441,7 +441,7 @@  discard block
 block discarded – undo
441 441
     /**
442 442
      * Indicate if email is seen
443 443
      *
444
-     * @return string
444
+     * @return boolean
445 445
      */
446 446
     public function isSeen()
447 447
     {
@@ -525,7 +525,7 @@  discard block
 block discarded – undo
525 525
      *
526 526
      * @param string $xThreadId
527 527
      *
528
-     * @return Email
528
+     * @return EmailApi
529 529
      */
530 530
     public function setXThreadId($xThreadId)
531 531
     {
@@ -537,7 +537,7 @@  discard block
 block discarded – undo
537 537
     /**
538 538
      * Get thread
539 539
      *
540
-     * @return EmailThread
540
+     * @return integer
541 541
      */
542 542
     public function getThread()
543 543
     {
@@ -549,7 +549,7 @@  discard block
 block discarded – undo
549 549
      *
550 550
      * @param EmailThread|null $thread
551 551
      *
552
-     * @return Email
552
+     * @return EmailApi
553 553
      */
554 554
     public function setThread($thread)
555 555
     {
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Form/Model/EmailAttachment.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
     }
89 89
 
90 90
     /**
91
-     * @return EmailAttachmentEntity
91
+     * @return EmailAttachment
92 92
      */
93 93
     public function getEmailAttachment()
94 94
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\EmailBundle\Form\Model;
4 4
 
5 5
 use Symfony\Component\HttpFoundation\File\UploadedFile;
6
-
7 6
 use Oro\Bundle\EmailBundle\Entity\EmailAttachment as EmailAttachmentEntity;
8 7
 
9 8
 class EmailAttachment
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Form/Type/AutoResponseTemplateChoiceType.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Symfony\Component\Form\FormView;
9 9
 use Symfony\Component\OptionsResolver\OptionsResolverInterface;
10 10
 use Symfony\Component\Translation\TranslatorInterface;
11
-
12 11
 use Oro\Bundle\EmailBundle\Entity\Email;
13 12
 use Oro\Bundle\EmailBundle\Entity\EmailTemplate;
14 13
 use Oro\Bundle\EmailBundle\Entity\Repository\EmailTemplateRepository;
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Form/Type/AutoResponseTemplateType.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
     }
178 178
 
179 179
     /**
180
-     * @return array
180
+     * @return string[]
181 181
      */
182 182
     protected function getLanguages()
183 183
     {
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
     }
188 188
 
189 189
     /**
190
-     * @return array
190
+     * @return string[]
191 191
      */
192 192
     protected function getLocaleLabels()
193 193
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,14 +3,12 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\EmailBundle\Form\Type;
4 4
 
5 5
 use Doctrine\Bundle\DoctrineBundle\Registry;
6
-
7 6
 use Symfony\Component\Form\AbstractType;
8 7
 use Symfony\Component\Form\FormBuilderInterface;
9 8
 use Symfony\Component\Form\FormEvent;
10 9
 use Symfony\Component\Form\FormEvents;
11 10
 use Symfony\Component\OptionsResolver\OptionsResolverInterface;
12 11
 use Symfony\Component\Validator\Constraints as Assert;
13
-
14 12
 use Oro\Bundle\ConfigBundle\Config\ConfigManager;
15 13
 use Oro\Bundle\EmailBundle\Entity\Email;
16 14
 use Oro\Bundle\EmailBundle\Entity\EmailTemplate;
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Form/Type/MailboxType.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 use Symfony\Component\OptionsResolver\OptionsResolver;
11 11
 use Symfony\Component\Validator\Constraints\Email;
12 12
 use Symfony\Component\Validator\Constraints\NotNull;
13
-
14 13
 use Oro\Bundle\EmailBundle\Entity\Mailbox;
15 14
 use Oro\Bundle\EmailBundle\Mailbox\MailboxProcessStorage;
16 15
 use Oro\Bundle\FormBundle\Utils\FormUtils;
Please login to merge, or discard this patch.