@@ -11,6 +11,7 @@ |
||
| 11 | 11 | { |
| 12 | 12 | /** |
| 13 | 13 | * {@inheritdoc} |
| 14 | + * @param integer $id |
|
| 14 | 15 | */ |
| 15 | 16 | public function find($id) |
| 16 | 17 | { |
@@ -3,9 +3,7 @@ |
||
| 3 | 3 | namespace Oro\Bundle\EmailBundle\Entity\Manager; |
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
| 6 | - |
|
| 7 | 6 | use Oro\Bundle\EmailBundle\Entity\Email; |
| 8 | -use Oro\Bundle\SearchBundle\Query\Result as SearchResult; |
|
| 9 | 7 | |
| 10 | 8 | class EmailActivitySuggestionApiEntityManager extends EmailActivitySearchApiEntityManager |
| 11 | 9 | { |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | - * @param array $senderEmails |
|
| 45 | + * @param integer[] $senderEmails |
|
| 46 | 46 | * @param array $excludedEmails |
| 47 | 47 | * @param string|null $query |
| 48 | 48 | * |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Oro\Component\PropertyAccess\Tests\Unit; |
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException; |
| 6 | - |
|
| 7 | 6 | use Oro\Component\PropertyAccess\PropertyAccessor; |
| 8 | 7 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass; |
| 9 | 8 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall; |
@@ -127,7 +127,7 @@ |
||
| 127 | 127 | * |
| 128 | 128 | * @param User $user |
| 129 | 129 | * @param Organization $organization |
| 130 | - * @return mixed |
|
| 130 | + * @return QueryBuilder |
|
| 131 | 131 | */ |
| 132 | 132 | public function findUnseenUserEmail(User $user, Organization $organization, $ids = []) |
| 133 | 133 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Oro\Component\PropertyAccess\Tests\Unit; |
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException; |
| 6 | - |
|
| 7 | 6 | use Oro\Component\PropertyAccess\PropertyAccessor; |
| 8 | 7 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass; |
| 9 | 8 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall; |
@@ -141,7 +141,7 @@ |
||
| 141 | 141 | * Collect updated EmailUser entities |
| 142 | 142 | * |
| 143 | 143 | * @param $entities |
| 144 | - * @param $uow - UnitOfWork |
|
| 144 | + * @param \Doctrine\ORM\UnitOfWork $uow - UnitOfWork |
|
| 145 | 145 | */ |
| 146 | 146 | protected function collectUpdatedEmailUserEntities($entities, $uow) |
| 147 | 147 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Oro\Component\PropertyAccess\Tests\Unit; |
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException; |
| 6 | - |
|
| 7 | 6 | use Oro\Component\PropertyAccess\PropertyAccessor; |
| 8 | 7 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass; |
| 9 | 8 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall; |
@@ -551,8 +551,8 @@ discard block |
||
| 551 | 551 | } |
| 552 | 552 | |
| 553 | 553 | /** |
| 554 | - * @param string[]|EmailRecipient[]|Collection $existingRecipients |
|
| 555 | - * @param string[]|EmailRecipient[]|Collection $newRecipients |
|
| 554 | + * @param \Doctrine\Common\Collections\ArrayCollection $existingRecipients |
|
| 555 | + * @param string[] $newRecipients |
|
| 556 | 556 | * |
| 557 | 557 | * @return bool |
| 558 | 558 | */ |
@@ -613,7 +613,7 @@ discard block |
||
| 613 | 613 | |
| 614 | 614 | /** |
| 615 | 615 | * @param string[]|string $existingRefs |
| 616 | - * @param string[]|string $newRefs |
|
| 616 | + * @param string $newRefs |
|
| 617 | 617 | * |
| 618 | 618 | * @return bool |
| 619 | 619 | */ |
@@ -4,9 +4,7 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Doctrine\Common\EventManager; |
| 6 | 6 | use Doctrine\DBAL\Driver\Connection; |
| 7 | - |
|
| 8 | 7 | use Symfony\Component\Filesystem\Filesystem; |
| 9 | - |
|
| 10 | 8 | use Oro\Component\TestUtils\ORM\Mocks\DriverMock; |
| 11 | 9 | use Oro\Component\TestUtils\ORM\Mocks\EntityManagerMock; |
| 12 | 10 | |
@@ -441,7 +441,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 | { |
@@ -88,7 +88,7 @@ |
||
| 88 | 88 | } |
| 89 | 89 | |
| 90 | 90 | /** |
| 91 | - * @return EmailAttachmentEntity |
|
| 91 | + * @return EmailAttachment |
|
| 92 | 92 | */ |
| 93 | 93 | public function getEmailAttachment() |
| 94 | 94 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Oro\Component\PropertyAccess\Tests\Unit; |
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException; |
| 6 | - |
|
| 7 | 6 | use Oro\Component\PropertyAccess\PropertyAccessor; |
| 8 | 7 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass; |
| 9 | 8 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall; |
@@ -158,7 +158,7 @@ |
||
| 158 | 158 | /** |
| 159 | 159 | * Returns a real transport used to send mails by a mailer specified in the constructor of this class |
| 160 | 160 | * |
| 161 | - * @return \Swift_Transport|null |
|
| 161 | + * @return \Swift_Transport |
|
| 162 | 162 | */ |
| 163 | 163 | protected function findRealTransport() |
| 164 | 164 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Oro\Component\PropertyAccess\Tests\Unit; |
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException; |
| 6 | - |
|
| 7 | 6 | use Oro\Component\PropertyAccess\PropertyAccessor; |
| 8 | 7 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass; |
| 9 | 8 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall; |
@@ -156,9 +156,9 @@ discard block |
||
| 156 | 156 | |
| 157 | 157 | /** |
| 158 | 158 | * @param Email $email |
| 159 | - * @param AutoResponseRule[]|Collection $rules |
|
| 159 | + * @param Collection $rules |
|
| 160 | 160 | * |
| 161 | - * @return EmailModel[]|Collection |
|
| 161 | + * @return Collection |
|
| 162 | 162 | */ |
| 163 | 163 | protected function createReplyEmailModels(Email $email, Collection $rules) |
| 164 | 164 | { |
@@ -217,7 +217,7 @@ discard block |
||
| 217 | 217 | } |
| 218 | 218 | |
| 219 | 219 | /** |
| 220 | - * @param MailBox $mailbox |
|
| 220 | + * @param Mailbox $mailbox |
|
| 221 | 221 | * @param Email $email |
| 222 | 222 | * |
| 223 | 223 | * @return AutoResponseRule[]|Collection |
@@ -273,7 +273,7 @@ discard block |
||
| 273 | 273 | |
| 274 | 274 | /** |
| 275 | 275 | * @param string $field |
| 276 | - * @param object $context |
|
| 276 | + * @param Email $context |
|
| 277 | 277 | * |
| 278 | 278 | * @return string[] |
| 279 | 279 | */ |
@@ -4,17 +4,13 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\HttpFoundation\JsonResponse; |
| 6 | 6 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 7 | - |
|
| 8 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
| 9 | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
| 10 | - |
|
| 11 | 9 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
| 12 | 10 | use Oro\Bundle\SecurityBundle\Annotation\Acl; |
| 13 | 11 | use Oro\Bundle\SecurityBundle\Authentication\Token\UsernamePasswordOrganizationToken; |
| 14 | - |
|
| 15 | 12 | use Oro\Bundle\UserBundle\Entity\User; |
| 16 | 13 | use Oro\Bundle\UserBundle\Entity\UserApi; |
| 17 | - |
|
| 18 | 14 | use Oro\Bundle\OrganizationBundle\Entity\Manager\BusinessUnitManager; |
| 19 | 15 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
| 20 | 16 | |