@@ -4,7 +4,6 @@ discard block |
||
4 | 4 | |
5 | 5 | use Doctrine\DBAL\Types\Type; |
6 | 6 | use Doctrine\DBAL\Schema\Schema; |
7 | - |
|
8 | 7 | use Oro\Bundle\MigrationBundle\Migration\QueryBag; |
9 | 8 | use Oro\Bundle\MigrationBundle\Migration\Migration; |
10 | 9 | use Oro\Bundle\MigrationBundle\Migration\SqlMigrationQuery; |
@@ -12,15 +11,11 @@ discard block |
||
12 | 11 | use Oro\Bundle\MigrationBundle\Migration\OrderedMigrationInterface; |
13 | 12 | use Oro\Bundle\MigrationBundle\Migration\Extension\NameGeneratorAwareInterface; |
14 | 13 | use Oro\Bundle\MigrationBundle\Tools\DbIdentifierNameGenerator; |
15 | - |
|
16 | 14 | use Oro\Bundle\ActivityListBundle\Migration\Extension\ActivityListExtension; |
17 | - |
|
18 | 15 | use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper; |
19 | 16 | use Oro\Bundle\EntityExtendBundle\Tools\ExtendDbIdentifierNameGenerator; |
20 | - |
|
21 | 17 | use Oro\Bundle\EntityExtendBundle\Migration\Extension\ExtendExtension; |
22 | 18 | use Oro\Bundle\EntityExtendBundle\Migration\Extension\ExtendExtensionAwareInterface; |
23 | - |
|
24 | 19 | use Oro\Bundle\ActivityBundle\EntityConfig\ActivityScope; |
25 | 20 | use Oro\Bundle\ActivityListBundle\Tools\ActivityListEntityConfigDumperExtension; |
26 | 21 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Migrations\Schema\v1_38; |
4 | 4 | |
5 | 5 | use Doctrine\DBAL\Schema\Schema; |
6 | - |
|
7 | 6 | use Oro\Bundle\ActivityListBundle\Migration\Extension\ActivityListExtension; |
8 | 7 | use Oro\Bundle\ActivityListBundle\Migration\Extension\ActivityListExtensionAwareInterface; |
9 | 8 | use Oro\Bundle\MigrationBundle\Migration\Migration; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Migrations\Schema\v1_39; |
4 | 4 | |
5 | 5 | use Doctrine\DBAL\Schema\Schema; |
6 | - |
|
7 | 6 | use Oro\Bundle\EntityConfigBundle\Migration\UpdateEntityConfigFieldValueQuery; |
8 | 7 | use Oro\Bundle\MigrationBundle\Migration\Migration; |
9 | 8 | use Oro\Bundle\MigrationBundle\Migration\QueryBag; |
@@ -3,11 +3,9 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Model\Action; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Util\ClassUtils; |
6 | - |
|
7 | 6 | use Oro\Bundle\WorkflowBundle\Exception\InvalidParameterException; |
8 | 7 | use Oro\Bundle\WorkflowBundle\Model\Action\AbstractAction; |
9 | 8 | use Oro\Bundle\WorkflowBundle\Model\ContextAccessor; |
10 | - |
|
11 | 9 | use OroCRM\Bundle\MagentoBundle\Service\AutomaticDiscovery; |
12 | 10 | |
13 | 11 | /** |
@@ -171,7 +171,7 @@ |
||
171 | 171 | } |
172 | 172 | |
173 | 173 | /** |
174 | - * @param mixed $channelId |
|
174 | + * @param integer $channelId |
|
175 | 175 | */ |
176 | 176 | protected function validateChannelId($channelId) |
177 | 177 | { |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Oro\Bundle\EntityBundle\ORM\DoctrineHelper; |
6 | 6 | use Oro\Bundle\IntegrationBundle\Entity\Channel; |
7 | 7 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
8 | - |
|
9 | 8 | use OroCRM\Bundle\MagentoBundle\Entity\MagentoSoapTransport; |
10 | 9 | use OroCRM\Bundle\MagentoBundle\Provider\ChannelType; |
11 | 10 |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
6 | 6 | use Doctrine\Common\Collections\Collection; |
7 | - |
|
8 | 7 | use Oro\Bundle\EntityBundle\ORM\DoctrineHelper; |
9 | 8 | use Oro\Bundle\EntityExtendBundle\Entity\AbstractEnumValue; |
10 | 9 | use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper; |
@@ -3,9 +3,7 @@ discard block |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Provider; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ManagerRegistry; |
6 | - |
|
7 | 6 | use Psr\Log\LoggerAwareInterface; |
8 | - |
|
9 | 7 | use Oro\Bundle\ImportExportBundle\Context\ContextRegistry; |
10 | 8 | use Oro\Bundle\ImportExportBundle\Context\ContextInterface; |
11 | 9 | use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; |
@@ -14,7 +12,6 @@ discard block |
||
14 | 12 | use Oro\Bundle\IntegrationBundle\Logger\LoggerStrategy; |
15 | 13 | use Oro\Bundle\IntegrationBundle\Provider\AbstractConnector; |
16 | 14 | use Oro\Bundle\IntegrationBundle\Provider\ConnectorContextMediator; |
17 | - |
|
18 | 15 | use OroCRM\Bundle\MagentoBundle\Provider\Iterator\PredefinedFiltersAwareInterface; |
19 | 16 | use OroCRM\Bundle\MagentoBundle\Provider\Iterator\UpdatedLoaderInterface; |
20 | 17 | use OroCRM\Bundle\MagentoBundle\Provider\Transport\MagentoTransportInterface; |
@@ -3,12 +3,9 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Provider; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Symfony\Component\HttpFoundation\ParameterBag; |
8 | - |
|
9 | 7 | use Oro\Bundle\IntegrationBundle\Entity\Channel; |
10 | 8 | use Oro\Bundle\IntegrationBundle\Provider\ConnectorContextMediator; |
11 | - |
|
12 | 9 | use OroCRM\Bundle\MagentoBundle\Utils\WSIUtils; |
13 | 10 | use OroCRM\Bundle\MagentoBundle\Exception\ExtensionRequiredException; |
14 | 11 | use OroCRM\Bundle\MagentoBundle\Provider\Transport\SoapTransport; |
@@ -178,7 +178,7 @@ |
||
178 | 178 | } |
179 | 179 | |
180 | 180 | /** |
181 | - * @param object $entity |
|
181 | + * @param Integration $entity |
|
182 | 182 | * @return Integration |
183 | 183 | */ |
184 | 184 | protected function reloadEntity($entity) |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Provider; |
4 | 4 | |
5 | 5 | use JMS\JobQueueBundle\Entity\Job; |
6 | - |
|
7 | 6 | use Oro\Bundle\EntityBundle\ORM\DoctrineHelper; |
8 | 7 | use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; |
9 | 8 | use Oro\Bundle\IntegrationBundle\Entity\Repository\ChannelRepository; |