@@ -39,8 +39,8 @@ |
||
39 | 39 | } |
40 | 40 | |
41 | 41 | /** |
42 | - * @param $identifier |
|
43 | - * @param $attribute_id |
|
42 | + * @param string $identifier |
|
43 | + * @param string $attribute_id |
|
44 | 44 | * @return Response |
45 | 45 | */ |
46 | 46 | protected function handleGetRequest($identifier, $attribute_id) |
@@ -3,11 +3,9 @@ |
||
3 | 3 | namespace Actualys\Bundle\DrupalCommerceConnectorBundle\Manager; |
4 | 4 | |
5 | 5 | use PDO; |
6 | -use Doctrine\Common\Persistence\ObjectManager; |
|
7 | 6 | use Doctrine\ORM\EntityManager; |
8 | 7 | use Pim\Bundle\CatalogBundle\Model\AbstractProduct; |
9 | 8 | use Akeneo\Bundle\BatchBundle\Entity\JobInstance; |
10 | -use Pim\Bundle\CatalogBundle\Repository\ReferableEntityRepositoryInterface; |
|
11 | 9 | use PimEnterprise\Bundle\WorkflowBundle\Model\PublishedProduct; |
12 | 10 | |
13 | 11 |
@@ -18,7 +18,7 @@ |
||
18 | 18 | } |
19 | 19 | |
20 | 20 | /** |
21 | - * @param object $category |
|
21 | + * @param Category $category |
|
22 | 22 | * @param null $format |
23 | 23 | * @param array $context |
24 | 24 | * @return array|\Symfony\Component\Serializer\Normalizer\scalar |
@@ -26,7 +26,7 @@ |
||
26 | 26 | } |
27 | 27 | |
28 | 28 | /** |
29 | - * @param object $family |
|
29 | + * @param Family $family |
|
30 | 30 | * @param null $format |
31 | 31 | * @param array $context |
32 | 32 | * @return array|\Symfony\Component\Serializer\Normalizer\scalar |
@@ -75,7 +75,7 @@ |
||
75 | 75 | } |
76 | 76 | |
77 | 77 | /** |
78 | - * @param object $product |
|
78 | + * @param ProductInterface $product |
|
79 | 79 | * @param null $format |
80 | 80 | * @param array $context |
81 | 81 | * @return array|\Symfony\Component\Serializer\Normalizer\scalar |
@@ -11,7 +11,6 @@ |
||
11 | 11 | use Pim\Bundle\CatalogBundle\Model\ProductInterface; |
12 | 12 | use Pim\Bundle\CatalogBundle\Entity\Channel; |
13 | 13 | use Pim\Bundle\CatalogBundle\Entity\Repository\CategoryRepository; |
14 | -use Pim\Bundle\CatalogBundle\Entity\Repository\GroupRepository; |
|
15 | 14 | use Pim\Bundle\CatalogBundle\Entity\Group; |
16 | 15 | use Pim\Bundle\CatalogBundle\Manager\ProductManager; |
17 | 16 |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use Pim\Bundle\DeltaExportBundle\Manager\ProductExportManager; |
8 | 8 | use Akeneo\Bundle\BatchBundle\Entity\StepExecution; |
9 | 9 | use Symfony\Component\EventDispatcher\EventDispatcher; |
10 | -use Guzzle\Http\Exception\ClientErrorResponseException; |
|
11 | 10 | |
12 | 11 | class DeltaProductWriter extends ProductWriter |
13 | 12 | { |