@@ -3,7 +3,6 @@ discard block |
||
3 | 3 | namespace OroCRM\Bundle\SalesBundle\Entity; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\Mapping as ORM; |
6 | - |
|
7 | 6 | use Oro\Bundle\DataAuditBundle\Metadata\Annotation as Oro; |
8 | 7 | use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\Config; |
9 | 8 | use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\ConfigField; |
@@ -13,7 +12,6 @@ discard block |
||
13 | 12 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowStep; |
14 | 13 | use Oro\Bundle\LocaleBundle\Model\FirstNameInterface; |
15 | 14 | use Oro\Bundle\EmailBundle\Model\EmailHolderInterface; |
16 | - |
|
17 | 15 | use OroCRM\Bundle\ChannelBundle\Model\ChannelEntityTrait; |
18 | 16 | use OroCRM\Bundle\ChannelBundle\Model\ChannelAwareInterface; |
19 | 17 | use OroCRM\Bundle\SalesBundle\Model\ExtendSalesFunnel; |
@@ -1012,7 +1012,7 @@ discard block |
||
1012 | 1012 | * |
1013 | 1013 | * This method could not be named setEmails because of bug CRM-253. |
1014 | 1014 | * |
1015 | - * @param Collection|ContactEmail[] $emails |
|
1015 | + * @param ContactEmail[] $emails |
|
1016 | 1016 | * |
1017 | 1017 | * @return Contact |
1018 | 1018 | */ |
@@ -1134,7 +1134,7 @@ discard block |
||
1134 | 1134 | * |
1135 | 1135 | * This method could not be named setPhones because of bug CRM-253. |
1136 | 1136 | * |
1137 | - * @param Collection|ContactPhone[] $phones |
|
1137 | + * @param ContactPhone[] $phones |
|
1138 | 1138 | * |
1139 | 1139 | * @return Contact |
1140 | 1140 | */ |
@@ -3,11 +3,9 @@ discard block |
||
3 | 3 | namespace OroCRM\Bundle\ContactBundle\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\AddressBundle\Entity\AbstractAddress; |
12 | 10 | use Oro\Bundle\AddressBundle\Entity\AddressType; |
13 | 11 | use Oro\Bundle\BusinessEntitiesBundle\Entity\BasePerson; |
@@ -18,7 +16,6 @@ discard block |
||
18 | 16 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
19 | 17 | use Oro\Bundle\TagBundle\Entity\Taggable; |
20 | 18 | use Oro\Bundle\UserBundle\Entity\User; |
21 | - |
|
22 | 19 | use OroCRM\Bundle\AccountBundle\Entity\Account; |
23 | 20 | use OroCRM\Bundle\ContactBundle\Model\ExtendContact; |
24 | 21 |
@@ -85,7 +85,7 @@ |
||
85 | 85 | /** |
86 | 86 | * Checks if the form type should be read-only or not |
87 | 87 | * |
88 | - * @param array $options |
|
88 | + * @param Options $options |
|
89 | 89 | * |
90 | 90 | * @return bool |
91 | 91 | */ |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Symfony\Component\Form\AbstractType; |
6 | 6 | use Symfony\Component\OptionsResolver\OptionsResolverInterface; |
7 | 7 | use Symfony\Component\OptionsResolver\Options; |
8 | - |
|
9 | 8 | use Oro\Bundle\SecurityBundle\SecurityFacade; |
10 | 9 | |
11 | 10 | class CustomerGroupSelectType extends AbstractType |
@@ -6,20 +6,7 @@ |
||
6 | 6 | use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; |
7 | 7 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
8 | 8 | use OroCRM\Bundle\MagentoBundle\Entity\MagentoSoapTransport; |
9 | - |
|
10 | - |
|
11 | -use OroCRM\Bundle\MagentoBundle\EventListener\UpdateIntegrationConnectorsListener; |
|
12 | -use OroCRM\Bundle\MagentoBundle\Provider\ChannelType; |
|
13 | -use OroCRM\Bundle\MagentoBundle\Provider\Transport\SoapTransport; |
|
14 | - |
|
15 | - |
|
16 | -use Oro\Bundle\DataGridBundle\Datagrid\Common\DatagridConfiguration; |
|
17 | 9 | use Oro\Bundle\DataGridBundle\Datagrid\ParameterBag; |
18 | -use Oro\Bundle\DataGridBundle\Event\PreBuild; |
|
19 | -use OroCRM\Bundle\MagentoBundle\EventListener\CustomerDataGridListener; |
|
20 | -use Symfony\Component\HttpFoundation\Request; |
|
21 | -use Symfony\Component\HttpFoundation\RequestStack; |
|
22 | - |
|
23 | 10 | use OroCRM\Bundle\MagentoBundle\EventListener\StoreGridListener; |
24 | 11 | |
25 | 12 | class StoreGridListenerTest extends \PHPUnit_Framework_TestCase |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use Oro\Bundle\EmailBundle\Provider\EmailRenderer; |
9 | 9 | use Oro\Bundle\EmailBundle\Tools\EmailAddressHelper; |
10 | 10 | use Oro\Bundle\EntityBundle\ORM\DoctrineHelper; |
11 | - |
|
12 | 11 | use OroCRM\Bundle\CampaignBundle\Entity\EmailCampaign; |
13 | 12 | use OroCRM\Bundle\CampaignBundle\Form\Type\InternalTransportSettingsType; |
14 | 13 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Datagrid; |
4 | 4 | |
5 | 5 | use Oro\Bundle\DataGridBundle\Datasource\ResultRecordInterface; |
6 | - |
|
7 | 6 | use Oro\Bundle\SecurityBundle\SecurityFacade; |
8 | 7 | use OroCRM\Bundle\MagentoBundle\Entity\NewsletterSubscriber; |
9 | 8 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
@@ -3,11 +3,9 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\EventListener; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Oro\Bundle\DataGridBundle\Datasource\Orm\OrmDatasource; |
8 | 7 | use Oro\Bundle\DataGridBundle\Event\BuildAfter; |
9 | 8 | use Oro\Bundle\SecurityBundle\SecurityFacade; |
10 | - |
|
11 | 9 | use OroCRM\Bundle\MagentoBundle\Entity\MagentoSoapTransport; |
12 | 10 | use OroCRM\Bundle\MagentoBundle\Provider\Iterator\StoresSoapIterator; |
13 | 11 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
@@ -5,15 +5,11 @@ |
||
5 | 5 | use Psr\Log\NullLogger; |
6 | 6 | use Psr\Log\LoggerAwareTrait; |
7 | 7 | use Psr\Log\LoggerAwareInterface; |
8 | - |
|
9 | 8 | use Akeneo\Bundle\BatchBundle\Entity\StepExecution; |
10 | 9 | use Akeneo\Bundle\BatchBundle\Item\ItemWriterInterface; |
11 | 10 | use Akeneo\Bundle\BatchBundle\Step\StepExecutionAwareInterface; |
12 | - |
|
13 | 11 | use Oro\Bundle\BatchBundle\Step\StepExecutionRestoreInterface; |
14 | - |
|
15 | 12 | use Oro\Bundle\ImportExportBundle\Field\DatabaseHelper; |
16 | - |
|
17 | 13 | use OroCRM\Bundle\MagentoBundle\Entity\Cart; |
18 | 14 | use OroCRM\Bundle\MagentoBundle\Entity\Order; |
19 | 15 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use Oro\Bundle\DataGridBundle\Datasource\ResultRecordInterface; |
7 | 7 | use Oro\Bundle\SecurityBundle\SecurityFacade; |
8 | 8 | use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; |
9 | - |
|
10 | 9 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
11 | 10 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
12 | 11 | use OroCRM\Bundle\MagentoBundle\Entity\NewsletterSubscriber; |