@@ -3,7 +3,6 @@ discard block |
||
3 | 3 | namespace Oro\Bundle\IntegrationBundle\Form\Type; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Symfony\Component\Form\FormView; |
8 | 7 | use Symfony\Component\Form\AbstractType; |
9 | 8 | use Symfony\Component\Form\FormInterface; |
@@ -12,7 +11,6 @@ discard block |
||
12 | 11 | use Symfony\Component\Form\ChoiceList\View\ChoiceView; |
13 | 12 | use Symfony\Bridge\Doctrine\Form\ChoiceList\EntityChoiceList; |
14 | 13 | use Symfony\Component\OptionsResolver\OptionsResolverInterface; |
15 | - |
|
16 | 14 | use Oro\Bundle\IntegrationBundle\Form\Choice\Loader; |
17 | 15 | use Oro\Bundle\IntegrationBundle\Manager\TypesRegistry; |
18 | 16 | use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; |
@@ -3,11 +3,9 @@ |
||
3 | 3 | namespace Oro\Bundle\IntegrationBundle\ImportExport\Helper; |
4 | 4 | |
5 | 5 | use Symfony\Bridge\Doctrine\RegistryInterface; |
6 | - |
|
7 | 6 | use Doctrine\ORM\UnitOfWork; |
8 | 7 | use Doctrine\ORM\EntityManager; |
9 | 8 | use Doctrine\Common\Util\ClassUtils; |
10 | - |
|
11 | 9 | use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; |
12 | 10 | use Oro\Bundle\SecurityBundle\Owner\Metadata\OwnershipMetadataInterface; |
13 | 11 | use Oro\Bundle\SecurityBundle\Owner\Metadata\OwnershipMetadataProvider; |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Akeneo\Bundle\BatchBundle\Entity\JobExecution; |
6 | 6 | use Akeneo\Bundle\BatchBundle\Entity\JobInstance; |
7 | 7 | use Akeneo\Bundle\BatchBundle\Job\BatchStatus; |
8 | - |
|
9 | 8 | use Oro\Bundle\ImportExportBundle\Exception\RuntimeException; |
10 | 9 | use Oro\Bundle\ImportExportBundle\Job\JobExecutor; |
11 | 10 | use Oro\Bundle\ImportExportBundle\Job\JobResult; |
@@ -39,7 +39,7 @@ |
||
39 | 39 | /** |
40 | 40 | * Delete integration |
41 | 41 | * |
42 | - * @param integration $integration |
|
42 | + * @param Integration $integration |
|
43 | 43 | * |
44 | 44 | * @return bool |
45 | 45 | */ |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\IntegrationBundle\Manager; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; |
8 | 7 | |
9 | 8 | class DeleteManager |
@@ -179,7 +179,7 @@ |
||
179 | 179 | * |
180 | 180 | * @param string $integrationType |
181 | 181 | * |
182 | - * @return array |
|
182 | + * @return \Symfony\Component\Form\FormInterface |
|
183 | 183 | */ |
184 | 184 | public function getAvailableTransportTypesChoiceList($integrationType) |
185 | 185 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Util\ClassUtils; |
6 | 6 | use Doctrine\Common\Collections\ArrayCollection; |
7 | - |
|
8 | 7 | use Oro\Bundle\IntegrationBundle\Exception\LogicException; |
9 | 8 | use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; |
10 | 9 | use Oro\Bundle\IntegrationBundle\Entity\Transport; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\IntegrationBundle\Migrations\Schema\v1_3; |
4 | 4 | |
5 | 5 | use Psr\Log\LoggerInterface; |
6 | - |
|
7 | 6 | use Oro\Bundle\MigrationBundle\Migration\ArrayLogger; |
8 | 7 | use Oro\Bundle\DataGridBundle\Common\Object as ConfigObject; |
9 | 8 | use Oro\Bundle\MigrationBundle\Migration\ParametrizedMigrationQuery; |
@@ -3,13 +3,10 @@ |
||
3 | 3 | namespace Oro\Bundle\IntegrationBundle\Model\Condition; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ManagerRegistry; |
6 | - |
|
7 | 6 | use Symfony\Component\PropertyAccess\PropertyPath; |
8 | - |
|
9 | 7 | use Oro\Component\ConfigExpression\ContextAccessorAwareInterface; |
10 | 8 | use Oro\Component\ConfigExpression\ContextAccessorAwareTrait; |
11 | 9 | use Oro\Component\ConfigExpression\Exception\InvalidArgumentException; |
12 | - |
|
13 | 10 | use Oro\Bundle\WorkflowBundle\Model\Condition\AbstractCondition; |
14 | 11 | |
15 | 12 | /** |
@@ -3,15 +3,12 @@ |
||
3 | 3 | namespace Oro\Bundle\IntegrationBundle\Provider; |
4 | 4 | |
5 | 5 | use Symfony\Bridge\Doctrine\RegistryInterface; |
6 | - |
|
7 | 6 | use Doctrine\ORM\UnitOfWork; |
8 | 7 | use Doctrine\ORM\EntityManager; |
9 | - |
|
10 | 8 | use Oro\Bundle\IntegrationBundle\Exception\LogicException; |
11 | 9 | use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; |
12 | 10 | use Oro\Bundle\IntegrationBundle\Manager\TypesRegistry; |
13 | 11 | use Oro\Bundle\ImportExportBundle\Context\ContextInterface; |
14 | - |
|
15 | 12 | use Oro\Bundle\EntityConfigBundle\DependencyInjection\Utils\ServiceLink; |
16 | 13 | |
17 | 14 | class ConnectorContextMediator |
@@ -161,7 +161,7 @@ |
||
161 | 161 | * @param mixed $data |
162 | 162 | * @param array $headers |
163 | 163 | * @param array $options |
164 | - * @return string |
|
164 | + * @return GuzzleRestResponse |
|
165 | 165 | * @throws GuzzleRestException |
166 | 166 | */ |
167 | 167 | public function performRequest( |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use Guzzle\Http\Exception\BadResponseException; |
7 | 7 | use Guzzle\Http\Message\RequestInterface; |
8 | 8 | use Guzzle\Http\Url as GuzzleUrl; |
9 | - |
|
10 | 9 | use Oro\Bundle\IntegrationBundle\Provider\Rest\Client\RestClientInterface; |
11 | 10 | |
12 | 11 | class GuzzleRestClient implements RestClientInterface |