@@ -3,15 +3,12 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Controller\Dashboard; |
4 | 4 | |
5 | 5 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
6 | - |
|
7 | 6 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
8 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
9 | - |
|
10 | 8 | use Oro\Bundle\ChartBundle\Model\ChartViewBuilder; |
11 | 9 | use Oro\Bundle\DashboardBundle\Model\WidgetConfigs; |
12 | 10 | use Oro\Bundle\WorkflowBundle\Model\WorkflowManager; |
13 | 11 | use Oro\Bundle\DashboardBundle\Provider\Converters\FilterDateRangeConverter; |
14 | - |
|
15 | 12 | use OroCRM\Bundle\MagentoBundle\Dashboard\OrderDataProvider; |
16 | 13 | use OroCRM\Bundle\MagentoBundle\Entity\Repository\CartRepository; |
17 | 14 | use OroCRM\Bundle\MagentoBundle\Dashboard\PurchaseDataProvider; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Datagrid; |
4 | 4 | |
5 | 5 | use Oro\Bundle\DataGridBundle\Datasource\ResultRecordInterface; |
6 | - |
|
7 | 6 | use Oro\Bundle\SecurityBundle\SecurityFacade; |
8 | 7 | use OroCRM\Bundle\MagentoBundle\Entity\NewsletterSubscriber; |
9 | 8 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | * @param Channel $channel |
173 | 173 | * @param string $status |
174 | 174 | * |
175 | - * @return \Doctrine\ORM\QueryBuilder |
|
175 | + * @return BufferedQueryResultIterator |
|
176 | 176 | */ |
177 | 177 | public function getCartsByChannelIdsIterator(Channel $channel, $status = 'open') |
178 | 178 | { |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | * @param \DateTime $end |
229 | 229 | * @param AclHelper $aclHelper |
230 | 230 | * |
231 | - * @return float|null |
|
231 | + * @return integer|null |
|
232 | 232 | * @throws \Doctrine\ORM\NonUniqueResultException |
233 | 233 | */ |
234 | 234 | public function getAbandonRateByPeriod(\DateTime $start, \DateTime $end, AclHelper $aclHelper) |
@@ -4,12 +4,10 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\NoResultException; |
6 | 6 | use Doctrine\ORM\QueryBuilder; |
7 | - |
|
8 | 7 | use Oro\Bundle\IntegrationBundle\Entity\Channel; |
9 | 8 | use Oro\Bundle\SecurityBundle\ORM\Walker\AclHelper; |
10 | 9 | use Oro\Bundle\WorkflowBundle\Model\Workflow; |
11 | 10 | use Oro\Bundle\BatchBundle\ORM\Query\BufferedQueryResultIterator; |
12 | - |
|
13 | 11 | use OroCRM\Bundle\MagentoBundle\Entity\Cart; |
14 | 12 | use OroCRM\Bundle\MagentoBundle\Entity\CartStatus; |
15 | 13 |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\EventListener; |
4 | 4 | |
5 | 5 | use Oro\Bundle\AddressBundle\Datagrid\CountryDatagridHelper; |
6 | - |
|
7 | 6 | use Oro\Bundle\DataGridBundle\Datagrid\DatagridInterface; |
8 | 7 | use Oro\Bundle\DataGridBundle\Datagrid\ParameterBag; |
9 | - |
|
10 | 8 | use Oro\Bundle\DataGridBundle\Datagrid\Common\DatagridConfiguration; |
11 | 9 | use Oro\Bundle\DataGridBundle\Event\BuildBefore; |
12 | 10 | use Oro\Bundle\FilterBundle\Grid\Extension\OrmFilterExtension; |
@@ -3,11 +3,9 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\EventListener; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Oro\Bundle\DataGridBundle\Datasource\Orm\OrmDatasource; |
8 | 7 | use Oro\Bundle\DataGridBundle\Event\BuildAfter; |
9 | 8 | use Oro\Bundle\SecurityBundle\SecurityFacade; |
10 | - |
|
11 | 9 | use OroCRM\Bundle\MagentoBundle\Entity\MagentoSoapTransport; |
12 | 10 | use OroCRM\Bundle\MagentoBundle\Provider\Iterator\StoresSoapIterator; |
13 | 11 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Symfony\Component\Form\AbstractType; |
6 | 6 | use Symfony\Component\OptionsResolver\Options; |
7 | 7 | use Symfony\Component\OptionsResolver\OptionsResolverInterface; |
8 | - |
|
9 | 8 | use OroCRM\Bundle\ChannelBundle\Provider\ChannelsByEntitiesProvider; |
10 | 9 | use OroCRM\Bundle\MagentoBundle\Provider\ChannelType; |
11 | 10 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
@@ -4,9 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use ReflectionClass; |
6 | 6 | use ReflectionProperty; |
7 | - |
|
8 | 7 | use Doctrine\Common\Util\Inflector; |
9 | - |
|
10 | 8 | use Oro\Bundle\ImportExportBundle\Context\ContextInterface; |
11 | 9 | |
12 | 10 | class AttributesConverterHelper |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\ImportExport\Strategy; |
4 | 4 | |
5 | 5 | use Oro\Bundle\AddressBundle\Entity\Region; |
6 | - |
|
7 | 6 | use OroCRM\Bundle\MagentoBundle\Entity\Address; |
8 | 7 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
9 | 8 | use OroCRM\Bundle\MagentoBundle\Provider\Reader\ContextCustomerReader; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\ImportExport\Strategy; |
4 | 4 | |
5 | 5 | use Oro\Bundle\AddressBundle\Entity\Region; |
6 | - |
|
7 | 6 | use OroCRM\Bundle\MagentoBundle\Entity\CartStatus; |
8 | 7 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
9 | 8 | use OroCRM\Bundle\MagentoBundle\Entity\Order; |