@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | /** |
24 | 24 | * @param mixed $entity New entity |
25 | 25 | * @param string $entityName Class name |
26 | - * @param string|array $criteria Fieldname to find existing entity |
|
26 | + * @param string $criteria Fieldname to find existing entity |
|
27 | 27 | * @param array $excludedProperties Excluded properties |
28 | 28 | * |
29 | 29 | * @return mixed |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | } |
96 | 96 | |
97 | 97 | /** |
98 | - * @param $entityName |
|
98 | + * @param string $entityName |
|
99 | 99 | * |
100 | 100 | * @return \Doctrine\ORM\EntityManager |
101 | 101 | */ |
@@ -5,9 +5,7 @@ |
||
5 | 5 | use Doctrine\ORM\UnitOfWork; |
6 | 6 | use Doctrine\ORM\EntityRepository; |
7 | 7 | use Doctrine\ORM\Mapping\ClassMetadataInfo; |
8 | - |
|
9 | 8 | use Symfony\Component\Security\Core\Util\ClassUtils; |
10 | - |
|
11 | 9 | use Oro\Bundle\ImportExportBundle\Strategy\Import\ImportStrategyHelper; |
12 | 10 | |
13 | 11 | class DoctrineHelper |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Manager; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Oro\Bundle\IntegrationBundle\Entity\Channel; |
8 | 7 | use Oro\Bundle\IntegrationBundle\Manager\DeleteProviderInterface; |
9 | 8 |
@@ -4,11 +4,9 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\DataFixtures\AbstractFixture; |
6 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
7 | - |
|
8 | 7 | use Oro\Bundle\IntegrationBundle\Entity\Channel; |
9 | 8 | use Oro\Bundle\IntegrationBundle\Entity\Repository\ChannelRepository; |
10 | 9 | use Oro\Bundle\IntegrationBundle\Entity\Status; |
11 | - |
|
12 | 10 | use OroCRM\Bundle\MagentoBundle\Entity\MagentoSoapTransport; |
13 | 11 | use OroCRM\Bundle\MagentoBundle\Provider\AbstractInitialProcessor; |
14 | 12 | use OroCRM\Bundle\MagentoBundle\Provider\ChannelType; |
@@ -5,10 +5,8 @@ |
||
5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
6 | 6 | use Doctrine\Common\Persistence\ObjectRepository; |
7 | 7 | use Doctrine\Common\DataFixtures\AbstractFixture; |
8 | - |
|
9 | 8 | use OroCRM\Bundle\MagentoBundle\Entity\Region; |
10 | 9 | use Oro\Bundle\AddressBundle\Entity\Region as BAPRegion; |
11 | - |
|
12 | 10 | use Symfony\Component\DependencyInjection\ContainerInterface; |
13 | 11 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
14 | 12 |
@@ -4,9 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\DataFixtures\FixtureInterface; |
6 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
7 | - |
|
8 | 7 | use JMS\JobQueueBundle\Entity\Job; |
9 | - |
|
10 | 8 | use Oro\Bundle\IntegrationBundle\Entity\Channel; |
11 | 9 | use Oro\Bundle\IntegrationBundle\Entity\Repository\ChannelRepository; |
12 | 10 | use OroCRM\Bundle\MagentoBundle\Command\InitialSyncCommand; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\DataFixtures\FixtureInterface; |
6 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
7 | - |
|
8 | 7 | use Oro\Bundle\DashboardBundle\Entity\Widget; |
9 | 8 | |
10 | 9 | class UpdateBigNumbersWidgetOptions implements FixtureInterface |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\DataFixtures\AbstractFixture; |
6 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
7 | - |
|
8 | 7 | use Oro\Bundle\IntegrationBundle\Entity\Channel; |
9 | 8 | use OroCRM\Bundle\MagentoBundle\Provider\ChannelType; |
10 | 9 | use OroCRM\Bundle\MagentoBundle\Provider\Connector\DictionaryConnectorInterface; |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
7 | 7 | use Doctrine\ORM\EntityManager; |
8 | 8 | use Doctrine\ORM\EntityRepository; |
9 | - |
|
10 | 9 | use Oro\Bundle\BatchBundle\ORM\Query\BufferedQueryResultIterator; |
11 | 10 | use OroCRM\Bundle\MagentoBundle\Entity\Order; |
12 | 11 |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
7 | 7 | use Doctrine\DBAL\Connection; |
8 | 8 | use Doctrine\ORM\EntityManagerInterface; |
9 | - |
|
10 | 9 | use Oro\Bundle\EntityBundle\ORM\DatabasePlatformInterface; |
11 | 10 | |
12 | 11 | class UpdateIntegrationEntitiesData extends AbstractFixture |