@@ -5,7 +5,6 @@ |
||
5 | 5 | use Symfony\Bridge\Doctrine\RegistryInterface; |
6 | 6 | use Symfony\Component\Form\FormInterface; |
7 | 7 | use Symfony\Component\HttpFoundation\Request; |
8 | - |
|
9 | 8 | use OroCRM\Bundle\MagentoBundle\Entity\CartItem; |
10 | 9 | |
11 | 10 | class CartItemHandler |
@@ -3,14 +3,11 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Form\Handler; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
6 | - |
|
7 | 6 | use Symfony\Bridge\Doctrine\RegistryInterface; |
8 | 7 | use Symfony\Component\Form\FormInterface; |
9 | 8 | use Symfony\Component\HttpFoundation\Request; |
10 | 9 | use Symfony\Component\Security\Core\SecurityContextInterface; |
11 | - |
|
12 | 10 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
13 | - |
|
14 | 11 | use OroCRM\Bundle\MagentoBundle\Entity\Address; |
15 | 12 | |
16 | 13 | class CustomerAddressApiHandler |
@@ -3,14 +3,11 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Form\Handler; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
6 | - |
|
7 | 6 | use Symfony\Bridge\Doctrine\RegistryInterface; |
8 | 7 | use Symfony\Component\Form\FormInterface; |
9 | 8 | use Symfony\Component\HttpFoundation\Request; |
10 | 9 | use Symfony\Component\Security\Core\SecurityContextInterface; |
11 | - |
|
12 | 10 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
13 | - |
|
14 | 11 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
15 | 12 | |
16 | 13 | class CustomerApiHandler |
@@ -3,13 +3,10 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Form\Handler; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
6 | - |
|
7 | 6 | use Symfony\Component\Form\FormInterface; |
8 | 7 | use Symfony\Component\Security\Core\SecurityContextInterface; |
9 | 8 | use Symfony\Component\HttpFoundation\Request; |
10 | - |
|
11 | 9 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
12 | - |
|
13 | 10 | use Oro\Bundle\SoapBundle\Form\Handler\ApiFormHandler; |
14 | 11 | |
15 | 12 | class OrderAddressApiHandler extends ApiFormHandler |
@@ -6,9 +6,7 @@ |
||
6 | 6 | use Symfony\Component\Form\FormInterface; |
7 | 7 | use Symfony\Component\HttpFoundation\Request; |
8 | 8 | use Symfony\Component\Security\Core\SecurityContextInterface; |
9 | - |
|
10 | 9 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
11 | - |
|
12 | 10 | use OroCRM\Bundle\MagentoBundle\Entity\Order; |
13 | 11 | use OroCRM\Bundle\MagentoBundle\Entity\OrderAddress; |
14 | 12 | use OroCRM\Bundle\MagentoBundle\Entity\OrderItem; |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Form\Handler; |
4 | 4 | |
5 | 5 | use Doctrine\Bundle\DoctrineBundle\Registry; |
6 | - |
|
7 | 6 | use Symfony\Component\Form\FormInterface; |
8 | 7 | use Symfony\Component\HttpFoundation\Request; |
9 | - |
|
10 | 8 | use OroCRM\Bundle\MagentoBundle\Entity\OrderItem; |
11 | 9 | |
12 | 10 | class OrderItemHandler |
@@ -5,12 +5,10 @@ |
||
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | 6 | use Doctrine\ORM\EntityRepository; |
7 | 7 | use Doctrine\ORM\QueryBuilder; |
8 | - |
|
9 | 8 | use OroCRM\Bundle\MagentoBundle\Provider\ChannelType; |
10 | 9 | use Symfony\Component\Form\AbstractType; |
11 | 10 | use Symfony\Component\OptionsResolver\Options; |
12 | 11 | use Symfony\Component\OptionsResolver\OptionsResolverInterface; |
13 | - |
|
14 | 12 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
15 | 13 | |
16 | 14 | class CustomerChannelSelectType extends AbstractType |
@@ -9,7 +9,7 @@ |
||
9 | 9 | /** |
10 | 10 | * Return currency from given row |
11 | 11 | * |
12 | - * @return callable |
|
12 | + * @return \Closure |
|
13 | 13 | */ |
14 | 14 | public static function getResolverCurrencyClosure() |
15 | 15 | { |
@@ -63,7 +63,7 @@ |
||
63 | 63 | } |
64 | 64 | |
65 | 65 | /** |
66 | - * @param string|int $gender |
|
66 | + * @param boolean|string $gender |
|
67 | 67 | * @return null|string |
68 | 68 | */ |
69 | 69 | protected function getOroGender($gender) |