@@ -3,9 +3,7 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Entity\Manager; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\QueryBuilder; |
6 | - |
|
7 | 6 | use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager; |
8 | - |
|
9 | 7 | use OroCRM\Bundle\MagentoBundle\Entity\Address; |
10 | 8 | |
11 | 9 | class CustomerAddressApiEntityManager extends ApiEntityManager |
@@ -5,7 +5,6 @@ discard block |
||
5 | 5 | use Doctrine\Common\Collections\Collection; |
6 | 6 | use Doctrine\ORM\Mapping as ORM; |
7 | 7 | use Doctrine\Common\Collections\ArrayCollection; |
8 | - |
|
9 | 8 | use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\Config; |
10 | 9 | use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\ConfigField; |
11 | 10 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
@@ -16,7 +15,6 @@ discard block |
||
16 | 15 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowStep; |
17 | 16 | use Oro\Bundle\LocaleBundle\Model\FirstNameInterface; |
18 | 17 | use Oro\Bundle\LocaleBundle\Model\LastNameInterface; |
19 | - |
|
20 | 18 | use OroCRM\Bundle\MagentoBundle\Model\ExtendOrder; |
21 | 19 | use OroCRM\Bundle\ChannelBundle\Model\ChannelAwareInterface; |
22 | 20 |
@@ -165,7 +165,7 @@ |
||
165 | 165 | * @param Channel $channel |
166 | 166 | * @param string $status |
167 | 167 | * |
168 | - * @return \Doctrine\ORM\QueryBuilder |
|
168 | + * @return BufferedQueryResultIterator |
|
169 | 169 | */ |
170 | 170 | public function getCartsByChannelIdsIterator(Channel $channel, $status = 'open') |
171 | 171 | { |
@@ -3,12 +3,10 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Entity\Repository; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\NoResultException; |
6 | - |
|
7 | 6 | use Oro\Bundle\IntegrationBundle\Entity\Channel; |
8 | 7 | use Oro\Bundle\SecurityBundle\ORM\Walker\AclHelper; |
9 | 8 | use Oro\Bundle\WorkflowBundle\Model\Workflow; |
10 | 9 | use Oro\Bundle\BatchBundle\ORM\Query\BufferedQueryResultIterator; |
11 | - |
|
12 | 10 | use OroCRM\Bundle\MagentoBundle\Entity\Cart; |
13 | 11 | use OroCRM\Bundle\MagentoBundle\Entity\CartStatus; |
14 | 12 |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Oro\Bundle\DashboardBundle\Helper\DateHelper; |
6 | 6 | use Oro\Bundle\SecurityBundle\ORM\Walker\AclHelper; |
7 | - |
|
8 | 7 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
9 | 8 | use OroCRM\Bundle\MagentoBundle\Entity\Order; |
10 | 9 |
@@ -3,14 +3,11 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Entity\Repository; |
4 | 4 | |
5 | 5 | use DateTime; |
6 | - |
|
7 | 6 | use Doctrine\ORM\EntityManager; |
8 | 7 | use Doctrine\ORM\NoResultException; |
9 | - |
|
10 | 8 | use Oro\Bundle\DashboardBundle\Helper\DateHelper; |
11 | 9 | use Oro\Bundle\SecurityBundle\ORM\Walker\AclHelper; |
12 | 10 | use Oro\Bundle\EntityBundle\Exception\InvalidEntityException; |
13 | - |
|
14 | 11 | use OroCRM\Bundle\MagentoBundle\Entity\Cart; |
15 | 12 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
16 | 13 | use OroCRM\Bundle\MagentoBundle\Entity\Order; |
@@ -2,12 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\EventListener; |
4 | 4 | |
5 | -use Doctrine\ORM\Query; |
|
6 | 5 | use Doctrine\ORM\EntityManager; |
7 | - |
|
8 | 6 | use Oro\Bundle\IntegrationBundle\Entity\Channel; |
9 | 7 | use Oro\Bundle\IntegrationBundle\Event\DefaultOwnerSetEvent; |
10 | - |
|
11 | 8 | use OroCRM\Bundle\MagentoBundle\Provider\ChannelType; |
12 | 9 | |
13 | 10 | /** |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use Doctrine\ORM\Event\PreUpdateEventArgs; |
9 | 9 | use Doctrine\ORM\PersistentCollection; |
10 | 10 | use Doctrine\ORM\UnitOfWork; |
11 | - |
|
12 | 11 | use OroCRM\Bundle\ChannelBundle\EventListener\ChannelDoctrineListener; |
13 | 12 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
14 | 13 | use OroCRM\Bundle\MagentoBundle\Entity\Order; |
@@ -6,11 +6,9 @@ |
||
6 | 6 | use Symfony\Component\Form\FormEvent; |
7 | 7 | use Symfony\Component\Form\FormEvents; |
8 | 8 | use Symfony\Component\Form\FormInterface; |
9 | - |
|
10 | 9 | use Oro\Bundle\IntegrationBundle\Form\Type\ChannelType; |
11 | 10 | use Oro\Bundle\IntegrationBundle\Manager\TypesRegistry; |
12 | 11 | use Oro\Bundle\IntegrationBundle\Provider\ConnectorInterface; |
13 | - |
|
14 | 12 | use OroCRM\Bundle\MagentoBundle\Provider\ExtensionAwareInterface; |
15 | 13 | |
16 | 14 | class SoapConnectorsFormSubscriber implements EventSubscriberInterface |
@@ -3,17 +3,14 @@ |
||
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\PropertyAccess\PropertyAccess; |
11 | 10 | use Symfony\Component\PropertyAccess\PropertyAccessor; |
12 | 11 | use Symfony\Component\Security\Core\SecurityContextInterface; |
13 | - |
|
14 | 12 | use Oro\Bundle\AddressBundle\Entity\AddressType; |
15 | 13 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
16 | - |
|
17 | 14 | use OroCRM\Bundle\MagentoBundle\Entity\CartAddress; |
18 | 15 | use OroCRM\Bundle\MagentoBundle\Entity\Cart; |
19 | 16 |