@@ -3,12 +3,10 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Provider\Transport; |
4 | 4 | |
5 | 5 | use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; |
6 | - |
|
7 | 6 | use Oro\Bundle\IntegrationBundle\Entity\Transport; |
8 | 7 | use Oro\Bundle\IntegrationBundle\Provider\SOAPTransport as BaseSOAPTransport; |
9 | 8 | use Oro\Bundle\IntegrationBundle\Utils\ConverterUtils; |
10 | 9 | use Oro\Bundle\SecurityBundle\Encoder\Mcrypt; |
11 | - |
|
12 | 10 | use OroCRM\Bundle\MagentoBundle\Entity\MagentoSoapTransport; |
13 | 11 | use OroCRM\Bundle\MagentoBundle\Exception\ExtensionRequiredException; |
14 | 12 | use OroCRM\Bundle\MagentoBundle\Provider\Iterator\CartsBridgeIterator; |
@@ -82,7 +82,7 @@ |
||
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
85 | - * @param object $entity |
|
85 | + * @param \OroCRM\Bundle\MagentoBundle\Entity\Customer $entity |
|
86 | 86 | * @return object|null |
87 | 87 | */ |
88 | 88 | public function discoverSimilar($entity) |
@@ -6,9 +6,7 @@ |
||
6 | 6 | use Doctrine\Common\Util\ClassUtils; |
7 | 7 | use Doctrine\ORM\EntityRepository; |
8 | 8 | use Doctrine\ORM\QueryBuilder; |
9 | - |
|
10 | 9 | use Symfony\Component\PropertyAccess\PropertyAccess; |
11 | - |
|
12 | 10 | use Oro\Bundle\EntityBundle\ORM\DoctrineHelper; |
13 | 11 | use Oro\Bundle\SecurityBundle\Owner\Metadata\OwnershipMetadataProvider; |
14 | 12 | use OroCRM\Bundle\MagentoBundle\DependencyInjection\Configuration; |
@@ -165,7 +165,7 @@ |
||
165 | 165 | |
166 | 166 | /** |
167 | 167 | * @param QueryBuilder $qb |
168 | - * @param $alias |
|
168 | + * @param string $alias |
|
169 | 169 | * @param $address |
170 | 170 | * @param array $fields |
171 | 171 | * @param array $configuration |
@@ -5,9 +5,7 @@ |
||
5 | 5 | use Symfony\Component\Routing\Router; |
6 | 6 | use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
7 | 7 | use Symfony\Component\Routing\Exception\RouteNotFoundException; |
8 | - |
|
9 | 8 | use Oro\Bundle\IntegrationBundle\Entity\Channel; |
10 | - |
|
11 | 9 | use OroCRM\Bundle\MagentoBundle\Entity\MagentoSoapTransport; |
12 | 10 | use OroCRM\Bundle\MagentoBundle\Exception\AdminUrlRequiredException; |
13 | 11 | use OroCRM\Bundle\MagentoBundle\Exception\ExtensionRequiredException; |
@@ -3,12 +3,10 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Tests\Functional\Controller\Api\Rest; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
6 | - |
|
7 | 6 | use Oro\Bundle\AddressBundle\Entity\AddressType; |
8 | 7 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
9 | 8 | use Oro\Bundle\IntegrationBundle\Entity\Channel; |
10 | 9 | use Oro\Bundle\UserBundle\Entity\User; |
11 | - |
|
12 | 10 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
13 | 11 | |
14 | 12 | /** |
@@ -3,11 +3,9 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Tests\Functional\Controller\Api\Rest; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
6 | - |
|
7 | 6 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
8 | 7 | use Oro\Bundle\IntegrationBundle\Entity\Channel; |
9 | 8 | use Oro\Bundle\UserBundle\Entity\User; |
10 | - |
|
11 | 9 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
12 | 10 | use OroCRM\Bundle\MagentoBundle\Entity\Website; |
13 | 11 | use OroCRM\Bundle\MagentoBundle\Entity\Store; |
@@ -4,10 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ManagerRegistry; |
6 | 6 | use Doctrine\Common\Persistence\ObjectRepository; |
7 | - |
|
8 | 7 | use Oro\Bundle\DashboardBundle\Entity\Dashboard; |
9 | 8 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
10 | - |
|
11 | 9 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
12 | 10 | use OroCRM\Bundle\MagentoBundle\Provider\ChannelType; |
13 | 11 |
@@ -4,12 +4,9 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | 6 | use Doctrine\Common\Util\ClassUtils; |
7 | - |
|
8 | 7 | use Symfony\Component\DomCrawler\Form; |
9 | - |
|
10 | 8 | use Oro\Bundle\IntegrationBundle\Entity\Channel; |
11 | 9 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
12 | - |
|
13 | 10 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
14 | 11 | use OroCRM\Bundle\MagentoBundle\Entity\Cart; |
15 | 12 | use OroCRM\Bundle\MagentoBundle\Entity\Order; |
@@ -5,12 +5,9 @@ |
||
5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
6 | 6 | use Doctrine\Common\DataFixtures\AbstractFixture; |
7 | 7 | use Doctrine\Common\DataFixtures\DependentFixtureInterface; |
8 | - |
|
9 | 8 | use Symfony\Component\DependencyInjection\ContainerInterface; |
10 | 9 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
11 | - |
|
12 | 10 | use Oro\Bundle\UserBundle\Entity\UserManager; |
13 | - |
|
14 | 11 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
15 | 12 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
16 | 13 | use OroCRM\Bundle\ContactBundle\Entity\ContactEmail; |