@@ -5,20 +5,15 @@ |
||
5 | 5 | use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager; |
6 | 6 | use Symfony\Component\Form\FormInterface; |
7 | 7 | use Symfony\Component\HttpFoundation\Response; |
8 | - |
|
9 | 8 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
10 | - |
|
11 | 9 | use FOS\RestBundle\Controller\Annotations\NamePrefix; |
12 | 10 | use FOS\RestBundle\Controller\Annotations\RouteResource; |
13 | 11 | use FOS\RestBundle\Controller\Annotations\QueryParam; |
14 | 12 | use FOS\RestBundle\Routing\ClassResourceInterface; |
15 | - |
|
16 | 13 | use Oro\Bundle\SecurityBundle\Annotation\Acl; |
17 | 14 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
18 | - |
|
19 | 15 | use Oro\Bundle\SoapBundle\Form\Handler\ApiFormHandler; |
20 | 16 | use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController; |
21 | - |
|
22 | 17 | use OroCRM\Bundle\ChannelBundle\Provider\Lifetime\AmountProvider; |
23 | 18 | use OroCRM\Bundle\AccountBundle\Entity\Account; |
24 | 19 |
@@ -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,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 |
@@ -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) |
@@ -5,7 +5,6 @@ discard block |
||
5 | 5 | use Doctrine\Common\Util\ClassUtils; |
6 | 6 | use Doctrine\ORM\EntityManager; |
7 | 7 | use Doctrine\Common\Inflector\Inflector; |
8 | - |
|
9 | 8 | use Oro\Bundle\ActivityBundle\EntityConfig\ActivityScope; |
10 | 9 | use Oro\Bundle\EmailBundle\Entity\Email; |
11 | 10 | use Oro\Bundle\EmailBundle\Model\EmailHolderInterface; |
@@ -13,7 +12,6 @@ discard block |
||
13 | 12 | use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper; |
14 | 13 | use Oro\Bundle\EntityConfigBundle\Provider\ConfigProvider; |
15 | 14 | use Oro\Bundle\EntityBundle\ORM\DoctrineHelper; |
16 | - |
|
17 | 15 | use OroCRM\Bundle\ActivityContactBundle\Direction\DirectionProviderInterface; |
18 | 16 | use OroCRM\Bundle\MarketingListBundle\Provider\ContactInformationFieldsProvider; |
19 | 17 |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use Symfony\Component\Console\Input\InputInterface; |
9 | 9 | use Symfony\Component\Console\Input\InputOption; |
10 | 10 | use Symfony\Component\Console\Output\OutputInterface; |
11 | - |
|
12 | 11 | use Oro\Bundle\BatchBundle\ORM\Query\BufferedQueryResultIterator; |
13 | 12 | use Oro\Bundle\CronBundle\Command\CronCommandInterface; |
14 | 13 | use Oro\Bundle\EntityBundle\ORM\DoctrineHelper; |
@@ -87,7 +87,7 @@ |
||
87 | 87 | /** |
88 | 88 | * @param int $channelId |
89 | 89 | * |
90 | - * @return BufferedQueryResultIterator|Channel[] |
|
90 | + * @return \CallbackFilterIterator |
|
91 | 91 | */ |
92 | 92 | protected function getChannels($channelId = null) |
93 | 93 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\AnalyticsBundle\EventListener; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\Event\OnFlushEventArgs; |
6 | - |
|
7 | 6 | use OroCRM\Bundle\AnalyticsBundle\Entity\RFMMetricCategory; |
8 | 7 | use OroCRM\Bundle\AnalyticsBundle\Model\RFMAwareInterface; |
9 | 8 | use OroCRM\Bundle\AnalyticsBundle\Model\RFMMetricStateManager; |