@@ -238,7 +238,7 @@ discard block  | 
                                                    ||
| 238 | 238 | /**  | 
                                                        
| 239 | 239 | * Returns the account unique id.  | 
                                                        
| 240 | 240 | *  | 
                                                        
| 241 | - * @return mixed  | 
                                                        |
| 241 | + * @return integer  | 
                                                        |
| 242 | 242 | */  | 
                                                        
| 243 | 243 | public function getId()  | 
                                                        
| 244 | 244 |      { | 
                                                        
@@ -325,7 +325,7 @@ discard block  | 
                                                    ||
| 325 | 325 | /**  | 
                                                        
| 326 | 326 | * Get contacts collection  | 
                                                        
| 327 | 327 | *  | 
                                                        
| 328 | - * @return Collection|Contact[]  | 
                                                        |
| 328 | + * @return ArrayCollection  | 
                                                        |
| 329 | 329 | */  | 
                                                        
| 330 | 330 | public function getContacts()  | 
                                                        
| 331 | 331 |      { | 
                                                        
@@ -4,15 +4,12 @@  | 
                                                    ||
| 4 | 4 | |
| 5 | 5 | use Doctrine\Common\Collections\ArrayCollection;  | 
                                                        
| 6 | 6 | use Doctrine\ORM\EntityRepository;  | 
                                                        
| 7 | -  | 
                                                        |
| 8 | 7 | use Doctrine\Common\DataFixtures\AbstractFixture;  | 
                                                        
| 9 | 8 | use Doctrine\Common\Persistence\ObjectManager;  | 
                                                        
| 10 | -  | 
                                                        |
| 11 | 9 | use Oro\Bundle\OrganizationBundle\Entity\BusinessUnit;  | 
                                                        
| 12 | 10 | use Oro\Bundle\OrganizationBundle\Entity\Organization;  | 
                                                        
| 13 | 11 | use Symfony\Component\DependencyInjection\ContainerInterface;  | 
                                                        
| 14 | 12 | use Symfony\Component\DependencyInjection\ContainerAwareInterface;  | 
                                                        
| 15 | -  | 
                                                        |
| 16 | 13 | use Oro\Bundle\UserBundle\Entity\UserManager;  | 
                                                        
| 17 | 14 | use Oro\Bundle\UserBundle\Entity\User;  | 
                                                        
| 18 | 15 | |
@@ -2,19 +2,14 @@ discard block  | 
                                                    ||
| 2 | 2 | |
| 3 | 3 | namespace OroCRM\Bundle\ActivityContactBundle\Command;  | 
                                                        
| 4 | 4 | |
| 5 | -use Doctrine\ORM\Query;  | 
                                                        |
| 6 | 5 | use Doctrine\ORM\QueryBuilder;  | 
                                                        
| 7 | -  | 
                                                        |
| 8 | 6 | use Psr\Log\AbstractLogger;  | 
                                                        
| 9 | -  | 
                                                        |
| 10 | 7 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;  | 
                                                        
| 11 | 8 | use Symfony\Component\Console\Input\InputInterface;  | 
                                                        
| 12 | 9 | use Symfony\Component\Console\Output\OutputInterface;  | 
                                                        
| 13 | 10 | use Symfony\Component\PropertyAccess\PropertyAccess;  | 
                                                        
| 14 | -  | 
                                                        |
| 15 | 11 | use Oro\Component\PropertyAccess\PropertyAccessor;  | 
                                                        
| 16 | 12 | use Oro\Component\Log\OutputLogger;  | 
                                                        
| 17 | -  | 
                                                        |
| 18 | 13 | use Oro\Bundle\ActivityBundle\Event\ActivityEvent;  | 
                                                        
| 19 | 14 | use Oro\Bundle\ActivityListBundle\Entity\ActivityList;  | 
                                                        
| 20 | 15 | use Oro\Bundle\ActivityListBundle\Entity\Repository\ActivityListRepository;  | 
                                                        
@@ -24,7 +19,6 @@ discard block  | 
                                                    ||
| 24 | 19 | use Oro\Bundle\EntityConfigBundle\Config\ConfigInterface;  | 
                                                        
| 25 | 20 | use Oro\Bundle\EntityConfigBundle\Provider\ConfigProvider;  | 
                                                        
| 26 | 21 | use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper;  | 
                                                        
| 27 | -  | 
                                                        |
| 28 | 22 | use OroCRM\Bundle\ActivityContactBundle\EntityConfig\ActivityScope;  | 
                                                        
| 29 | 23 | use OroCRM\Bundle\ActivityContactBundle\EventListener\ActivityListener;  | 
                                                        
| 30 | 24 | use OroCRM\Bundle\ActivityContactBundle\Provider\ActivityContactProvider;  | 
                                                        
@@ -59,7 +59,7 @@ discard block  | 
                                                    ||
| 59 | 59 | /**  | 
                                                        
| 60 | 60 | * Return list of supported activity classes  | 
                                                        
| 61 | 61 | *  | 
                                                        
| 62 | - * @return array  | 
                                                        |
| 62 | + * @return integer[]  | 
                                                        |
| 63 | 63 | */  | 
                                                        
| 64 | 64 | public function getSupportedActivityClasses()  | 
                                                        
| 65 | 65 |      { | 
                                                        
@@ -69,7 +69,7 @@ discard block  | 
                                                    ||
| 69 | 69 | /**  | 
                                                        
| 70 | 70 | * Check if given entity class is supports  | 
                                                        
| 71 | 71 | *  | 
                                                        
| 72 | - * @param $activityClass  | 
                                                        |
| 72 | + * @param string $activityClass  | 
                                                        |
| 73 | 73 | *  | 
                                                        
| 74 | 74 | * @return bool  | 
                                                        
| 75 | 75 | */  | 
                                                        
@@ -4,7 +4,6 @@  | 
                                                    ||
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\Validator\Constraint;  | 
                                                        
| 6 | 6 | use Symfony\Component\Validator\ConstraintValidator;  | 
                                                        
| 7 | -  | 
                                                        |
| 8 | 7 | use OroCRM\Bundle\TaskBundle\Validator\Constraints\DueDateRequired;  | 
                                                        
| 9 | 8 | use OroCRM\Bundle\TaskBundle\Entity\Task;  | 
                                                        
| 10 | 9 | |
@@ -56,6 +56,7 @@  | 
                                                    ||
| 56 | 56 | |
| 57 | 57 | /**  | 
                                                        
| 58 | 58 |       * {@inheritdoc} | 
                                                        
| 59 | + * @param Call $activity  | 
                                                        |
| 59 | 60 | */  | 
                                                        
| 60 | 61 | public function getDate($activity)  | 
                                                        
| 61 | 62 |      { | 
                                                        
@@ -3,10 +3,8 @@  | 
                                                    ||
| 3 | 3 | namespace OroCRM\Bundle\TestFrameworkBundle\Tests\Performance;  | 
                                                        
| 4 | 4 | |
| 5 | 5 | use Symfony\Bundle\FrameworkBundle\Console\Application;  | 
                                                        
| 6 | -  | 
                                                        |
| 7 | 6 | use Symfony\Component\HttpKernel\Kernel;  | 
                                                        
| 8 | 7 | use Symfony\Component\DependencyInjection\Container;  | 
                                                        
| 9 | -  | 
                                                        |
| 10 | 8 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase;  | 
                                                        
| 11 | 9 | |
| 12 | 10 | class LoadTest extends WebTestCase  | 
                                                        
@@ -126,6 +126,7 @@ discard block  | 
                                                    ||
| 126 | 126 | |
| 127 | 127 | /**  | 
                                                        
| 128 | 128 |       * {@inheritdoc} | 
                                                        
| 129 | + * @param Email $activity  | 
                                                        |
| 129 | 130 | */  | 
                                                        
| 130 | 131 | public function getDate($activity)  | 
                                                        
| 131 | 132 |      { | 
                                                        
@@ -202,7 +203,7 @@ discard block  | 
                                                    ||
| 202 | 203 | }  | 
                                                        
| 203 | 204 | |
| 204 | 205 | /**  | 
                                                        
| 205 | - * @param object $target  | 
                                                        |
| 206 | + * @param EmailHolderInterface $target  | 
                                                        |
| 206 | 207 | * @return string  | 
                                                        
| 207 | 208 | */  | 
                                                        
| 208 | 209 | protected function getTargetEmail($target)  | 
                                                        
@@ -3,10 +3,8 @@  | 
                                                    ||
| 3 | 3 | namespace OroCRM\Bundle\TestFrameworkBundle\Tests\Performance;  | 
                                                        
| 4 | 4 | |
| 5 | 5 | use Symfony\Bundle\FrameworkBundle\Console\Application;  | 
                                                        
| 6 | -  | 
                                                        |
| 7 | 6 | use Symfony\Component\HttpKernel\Kernel;  | 
                                                        
| 8 | 7 | use Symfony\Component\DependencyInjection\Container;  | 
                                                        
| 9 | -  | 
                                                        |
| 10 | 8 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase;  | 
                                                        
| 11 | 9 | |
| 12 | 10 | class LoadTest extends WebTestCase  | 
                                                        
@@ -270,7 +270,7 @@  | 
                                                    ||
| 270 | 270 | }  | 
                                                        
| 271 | 271 | |
| 272 | 272 | /**  | 
                                                        
| 273 | - * @param array $items  | 
                                                        |
| 273 | + * @param RFMMetricCategory[] $items  | 
                                                        |
| 274 | 274 | *  | 
                                                        
| 275 | 275 | * @return PersistentCollection  | 
                                                        
| 276 | 276 | */  | 
                                                        
@@ -3,10 +3,8 @@  | 
                                                    ||
| 3 | 3 | namespace OroCRM\Bundle\TestFrameworkBundle\Tests\Performance;  | 
                                                        
| 4 | 4 | |
| 5 | 5 | use Symfony\Bundle\FrameworkBundle\Console\Application;  | 
                                                        
| 6 | -  | 
                                                        |
| 7 | 6 | use Symfony\Component\HttpKernel\Kernel;  | 
                                                        
| 8 | 7 | use Symfony\Component\DependencyInjection\Container;  | 
                                                        
| 9 | -  | 
                                                        |
| 10 | 8 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase;  | 
                                                        
| 11 | 9 | |
| 12 | 10 | class LoadTest extends WebTestCase  | 
                                                        
@@ -18,7 +18,7 @@  | 
                                                    ||
| 18 | 18 | /**  | 
                                                        
| 19 | 19 | * Validate collection.  | 
                                                        
| 20 | 20 | *  | 
                                                        
| 21 | - * @param PersistentCollection|RFMMetricCategory[] $value  | 
                                                        |
| 21 | + * @param PersistentCollection $value  | 
                                                        |
| 22 | 22 | * @param CategoriesConstraint $constraint  | 
                                                        
| 23 | 23 | *  | 
                                                        
| 24 | 24 |       * {@inheritdoc} | 
                                                        
@@ -3,10 +3,8 @@  | 
                                                    ||
| 3 | 3 | namespace OroCRM\Bundle\TestFrameworkBundle\Tests\Performance;  | 
                                                        
| 4 | 4 | |
| 5 | 5 | use Symfony\Bundle\FrameworkBundle\Console\Application;  | 
                                                        
| 6 | -  | 
                                                        |
| 7 | 6 | use Symfony\Component\HttpKernel\Kernel;  | 
                                                        
| 8 | 7 | use Symfony\Component\DependencyInjection\Container;  | 
                                                        
| 9 | -  | 
                                                        |
| 10 | 8 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase;  | 
                                                        
| 11 | 9 | |
| 12 | 10 | class LoadTest extends WebTestCase  | 
                                                        
@@ -163,7 +163,7 @@  | 
                                                    ||
| 163 | 163 | |
| 164 | 164 | /**  | 
                                                        
| 165 | 165 | * @param array $expectedUnsets  | 
                                                        
| 166 | - * @param array $parametersData  | 
                                                        |
| 166 | + * @param array $parameters  | 
                                                        |
| 167 | 167 | * @return BuildBefore  | 
                                                        
| 168 | 168 | */  | 
                                                        
| 169 | 169 | protected function createBuildBeforeEvent(array $expectedUnsets, array $parameters)  | 
                                                        
@@ -4,7 +4,6 @@  | 
                                                    ||
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\Validator\Constraint;  | 
                                                        
| 6 | 6 | use Symfony\Component\Validator\ConstraintValidator;  | 
                                                        
| 7 | -  | 
                                                        |
| 8 | 7 | use OroCRM\Bundle\TaskBundle\Validator\Constraints\DueDateRequired;  | 
                                                        
| 9 | 8 | use OroCRM\Bundle\TaskBundle\Entity\Task;  | 
                                                        
| 10 | 9 | |
@@ -357,8 +357,8 @@  | 
                                                    ||
| 357 | 357 | }  | 
                                                        
| 358 | 358 | |
| 359 | 359 | /**  | 
                                                        
| 360 | - * @param mixed $obj  | 
                                                        |
| 361 | - * @param mixed $val  | 
                                                        |
| 360 | + * @param Call $obj  | 
                                                        |
| 361 | + * @param integer $val  | 
                                                        |
| 362 | 362 | */  | 
                                                        
| 363 | 363 | protected function setId($obj, $val)  | 
                                                        
| 364 | 364 |      { | 
                                                        
@@ -4,15 +4,12 @@  | 
                                                    ||
| 4 | 4 | |
| 5 | 5 | use Doctrine\Common\Collections\ArrayCollection;  | 
                                                        
| 6 | 6 | use Doctrine\ORM\EntityRepository;  | 
                                                        
| 7 | -  | 
                                                        |
| 8 | 7 | use Doctrine\Common\DataFixtures\AbstractFixture;  | 
                                                        
| 9 | 8 | use Doctrine\Common\Persistence\ObjectManager;  | 
                                                        
| 10 | -  | 
                                                        |
| 11 | 9 | use Oro\Bundle\OrganizationBundle\Entity\BusinessUnit;  | 
                                                        
| 12 | 10 | use Oro\Bundle\OrganizationBundle\Entity\Organization;  | 
                                                        
| 13 | 11 | use Symfony\Component\DependencyInjection\ContainerInterface;  | 
                                                        
| 14 | 12 | use Symfony\Component\DependencyInjection\ContainerAwareInterface;  | 
                                                        
| 15 | -  | 
                                                        |
| 16 | 13 | use Oro\Bundle\UserBundle\Entity\UserManager;  | 
                                                        
| 17 | 14 | use Oro\Bundle\UserBundle\Entity\User;  | 
                                                        
| 18 | 15 | |