@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\Form\FormInterface; |
| 6 | 6 | use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap; |
| 7 | - |
|
| 8 | 7 | use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager; |
| 9 | 8 | use Oro\Bundle\SoapBundle\Controller\Api\Soap\SoapController; |
| 10 | 9 | use Oro\Bundle\SoapBundle\Form\Handler\ApiFormHandler; |
@@ -3,11 +3,9 @@ discard block |
||
| 3 | 3 | namespace OroCRM\Bundle\AccountBundle\Entity; |
| 4 | 4 | |
| 5 | 5 | use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap; |
| 6 | - |
|
| 7 | 6 | use Doctrine\Common\Collections\ArrayCollection; |
| 8 | 7 | use Doctrine\Common\Collections\Collection; |
| 9 | 8 | use Doctrine\ORM\Mapping as ORM; |
| 10 | - |
|
| 11 | 9 | use Oro\Bundle\DataAuditBundle\Metadata\Annotation as Oro; |
| 12 | 10 | use Oro\Bundle\EmailBundle\Model\EmailHolderInterface; |
| 13 | 11 | use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\Config; |
@@ -16,7 +14,6 @@ discard block |
||
| 16 | 14 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
| 17 | 15 | use Oro\Bundle\TagBundle\Entity\Taggable; |
| 18 | 16 | use Oro\Bundle\UserBundle\Entity\User; |
| 19 | - |
|
| 20 | 17 | use OroCRM\Bundle\AccountBundle\Model\ExtendAccount; |
| 21 | 18 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
| 22 | 19 | |
@@ -229,7 +229,7 @@ discard block |
||
| 229 | 229 | /** |
| 230 | 230 | * Returns the account unique id. |
| 231 | 231 | * |
| 232 | - * @return mixed |
|
| 232 | + * @return integer |
|
| 233 | 233 | */ |
| 234 | 234 | public function getId() |
| 235 | 235 | { |
@@ -316,7 +316,7 @@ discard block |
||
| 316 | 316 | /** |
| 317 | 317 | * Get contacts collection |
| 318 | 318 | * |
| 319 | - * @return Collection|Contact[] |
|
| 319 | + * @return Collection |
|
| 320 | 320 | */ |
| 321 | 321 | public function getContacts() |
| 322 | 322 | { |
@@ -3,13 +3,10 @@ |
||
| 3 | 3 | namespace OroCRM\Bundle\AccountBundle\Form\Handler; |
| 4 | 4 | |
| 5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
| 6 | - |
|
| 7 | 6 | use Symfony\Component\Form\FormInterface; |
| 8 | 7 | use Symfony\Component\HttpFoundation\Request; |
| 9 | - |
|
| 10 | 8 | use Oro\Bundle\TagBundle\Entity\TagManager; |
| 11 | 9 | use Oro\Bundle\TagBundle\Form\Handler\TagHandlerInterface; |
| 12 | - |
|
| 13 | 10 | use OroCRM\Bundle\AccountBundle\Entity\Account; |
| 14 | 11 | |
| 15 | 12 | class AccountHandler implements TagHandlerInterface |
@@ -3,10 +3,8 @@ |
||
| 3 | 3 | namespace OroCRM\Bundle\AccountBundle\Tests\Unit\Form\Handler; |
| 4 | 4 | |
| 5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
| 6 | - |
|
| 7 | 6 | use Symfony\Component\Form\FormInterface; |
| 8 | 7 | use Symfony\Component\HttpFoundation\Request; |
| 9 | - |
|
| 10 | 8 | use OroCRM\Bundle\AccountBundle\Entity\Account; |
| 11 | 9 | use OroCRM\Bundle\AccountBundle\Form\Handler\AccountHandler; |
| 12 | 10 | |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
| 6 | 6 | use Symfony\Component\Form\FormView; |
| 7 | 7 | use Symfony\Component\OptionsResolver\OptionsResolverInterface; |
| 8 | - |
|
| 9 | 8 | use OroCRM\Bundle\AccountBundle\Form\Type\AccountType; |
| 10 | 9 | |
| 11 | 10 | class AccountTypeTest extends \PHPUnit_Framework_TestCase |
@@ -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 Doctrine\Common\Util\ClassUtils; |
| 6 | 6 | use Doctrine\ORM\EntityManager; |
| 7 | - |
|
| 8 | 7 | use OroCRM\Bundle\ActivityContactBundle\Direction\DirectionProviderInterface; |
| 9 | 8 | |
| 10 | 9 | class ActivityContactProvider |
@@ -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 | { |
@@ -4,11 +4,9 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Doctrine\Common\Util\ClassUtils; |
| 6 | 6 | use Doctrine\ORM\EntityManager; |
| 7 | - |
|
| 8 | 7 | use Oro\Bundle\ActivityBundle\EntityConfig\ActivityScope; |
| 9 | 8 | use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper; |
| 10 | 9 | use Oro\Bundle\ActivityBundle\Manager\ActivityManager; |
| 11 | - |
|
| 12 | 10 | use OroCRM\Bundle\ActivityContactBundle\Direction\DirectionProviderInterface; |
| 13 | 11 | use OroCRM\Bundle\CallBundle\Entity\Call; |
| 14 | 12 | |
@@ -3,9 +3,7 @@ |
||
| 3 | 3 | namespace OroCRM\Bundle\AnalyticsBundle\Builder; |
| 4 | 4 | |
| 5 | 5 | use Doctrine\Common\Collections\Criteria; |
| 6 | - |
|
| 7 | 6 | use Symfony\Component\PropertyAccess\PropertyAccess; |
| 8 | - |
|
| 9 | 7 | use Oro\Bundle\EntityBundle\ORM\DoctrineHelper; |
| 10 | 8 | use OroCRM\Bundle\AnalyticsBundle\Entity\RFMMetricCategory; |
| 11 | 9 | use OroCRM\Bundle\AnalyticsBundle\Model\AnalyticsAwareInterface; |