@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Manager\CustomerAddress; |
4 | 4 | |
5 | 5 | use Symfony\Component\PropertyAccess\PropertyAccess; |
6 | - |
|
7 | 6 | use OroCRM\Bundle\ContactBundle\Entity\ContactAddress; |
8 | 7 | use OroCRM\Bundle\MagentoBundle\Entity\Address; |
9 | 8 |
@@ -3,13 +3,10 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Manager; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Psr\Log\LoggerAwareInterface; |
8 | 7 | use Psr\Log\LoggerAwareTrait; |
9 | - |
|
10 | 8 | use Symfony\Component\PropertyAccess\PropertyAccess; |
11 | 9 | use Symfony\Component\PropertyAccess\PropertyAccessor; |
12 | - |
|
13 | 10 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
14 | 11 | use OroCRM\Bundle\ContactBundle\Entity\ContactAddress; |
15 | 12 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | } |
94 | 94 | |
95 | 95 | /** |
96 | - * @param int[] $integrationIds |
|
96 | + * @param int[] $integrationId |
|
97 | 97 | * @param int[]|null $customersIds |
98 | 98 | * @param int $batchSize |
99 | 99 | */ |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | /** |
209 | 209 | * @param array $listProperties |
210 | 210 | * @param $firstEntity |
211 | - * @param $secondEntity |
|
211 | + * @param Address $secondEntity |
|
212 | 212 | */ |
213 | 213 | protected function copyProperties($listProperties, $firstEntity, $secondEntity) |
214 | 214 | { |
@@ -255,7 +255,7 @@ discard block |
||
255 | 255 | } |
256 | 256 | |
257 | 257 | /** |
258 | - * @param $context |
|
258 | + * @param Context $context |
|
259 | 259 | * |
260 | 260 | * @return $this |
261 | 261 | */ |
@@ -268,7 +268,7 @@ discard block |
||
268 | 268 | |
269 | 269 | /** |
270 | 270 | * @param Customer $customer |
271 | - * @param $id |
|
271 | + * @param integer $id |
|
272 | 272 | * |
273 | 273 | * @return Address|null |
274 | 274 | * @throws \Exception |
@@ -3,16 +3,12 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Manager; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Psr\Log\LoggerAwareInterface; |
8 | 7 | use Psr\Log\LoggerAwareTrait; |
9 | - |
|
10 | 8 | use Symfony\Component\PropertyAccess\PropertyAccess; |
11 | 9 | use Symfony\Component\PropertyAccess\PropertyAccessor; |
12 | - |
|
13 | 10 | use Oro\Bundle\ImportExportBundle\Context\Context; |
14 | 11 | use Oro\Bundle\IntegrationBundle\Entity\Channel; |
15 | - |
|
16 | 12 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
17 | 13 | use OroCRM\Bundle\ContactBundle\Entity\ContactAddress; |
18 | 14 | use OroCRM\Bundle\MagentoBundle\Entity\Address; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Tests\Functional\Command; |
4 | 4 | |
5 | 5 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
6 | - |
|
7 | 6 | use OroCRM\Bundle\ContactBundle\Entity\ContactAddress; |
8 | 7 | use OroCRM\Bundle\MagentoBundle\Entity\Address; |
9 | 8 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
@@ -150,8 +150,8 @@ discard block |
||
150 | 150 | } |
151 | 151 | |
152 | 152 | /** |
153 | - * @param $table |
|
154 | - * @param $method |
|
153 | + * @param string $table |
|
154 | + * @param string $method |
|
155 | 155 | * |
156 | 156 | * @return array |
157 | 157 | */ |
@@ -283,7 +283,7 @@ discard block |
||
283 | 283 | } |
284 | 284 | |
285 | 285 | /** |
286 | - * @param $oid |
|
286 | + * @param integer $oid |
|
287 | 287 | * @param Account $account |
288 | 288 | * @param MagentoAddress $address |
289 | 289 | * |
@@ -4,18 +4,14 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\DataFixtures\AbstractFixture; |
6 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
7 | - |
|
8 | 7 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
9 | 8 | use Symfony\Component\DependencyInjection\ContainerInterface; |
10 | - |
|
11 | 9 | use Oro\Component\Config\Common\ConfigObject; |
12 | - |
|
13 | 10 | use Oro\Bundle\AddressBundle\Entity\Address; |
14 | 11 | use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; |
15 | 12 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
16 | 13 | use Oro\Bundle\UserBundle\Entity\User; |
17 | 14 | use Oro\Bundle\UserBundle\Model\Gender; |
18 | - |
|
19 | 15 | use OroCRM\Bundle\ContactBundle\Entity\ContactAddress; |
20 | 16 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
21 | 17 | use OroCRM\Bundle\AccountBundle\Entity\Account; |