@@ -3,11 +3,9 @@ discard block |
||
3 | 3 | namespace OroCRM\Bundle\AccountBundle\Entity; |
4 | 4 | |
5 | 5 | use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap; |
6 | - |
|
7 | 6 | use Doctrine\Common\Collections\ArrayCollection; |
8 | 7 | use Doctrine\Common\Collections\Collection; |
9 | 8 | use Doctrine\ORM\Mapping as ORM; |
10 | - |
|
11 | 9 | use Oro\Bundle\DataAuditBundle\Metadata\Annotation as Oro; |
12 | 10 | use Oro\Bundle\EmailBundle\Model\EmailHolderInterface; |
13 | 11 | use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\Config; |
@@ -16,7 +14,6 @@ discard block |
||
16 | 14 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
17 | 15 | use Oro\Bundle\TagBundle\Entity\Taggable; |
18 | 16 | use Oro\Bundle\UserBundle\Entity\User; |
19 | - |
|
20 | 17 | use OroCRM\Bundle\AccountBundle\Model\ExtendAccount; |
21 | 18 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
22 | 19 |
@@ -229,7 +229,7 @@ discard block |
||
229 | 229 | /** |
230 | 230 | * Returns the account unique id. |
231 | 231 | * |
232 | - * @return mixed |
|
232 | + * @return integer |
|
233 | 233 | */ |
234 | 234 | public function getId() |
235 | 235 | { |
@@ -316,7 +316,7 @@ discard block |
||
316 | 316 | /** |
317 | 317 | * Get contacts collection |
318 | 318 | * |
319 | - * @return Collection|Contact[] |
|
319 | + * @return Collection |
|
320 | 320 | */ |
321 | 321 | public function getContacts() |
322 | 322 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Util\ClassUtils; |
6 | 6 | use Doctrine\ORM\EntityManager; |
7 | - |
|
8 | 7 | use OroCRM\Bundle\ActivityContactBundle\Direction\DirectionProviderInterface; |
9 | 8 | |
10 | 9 | class ActivityContactProvider |
@@ -5,14 +5,12 @@ |
||
5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
6 | 6 | use Doctrine\Common\Collections\Collection; |
7 | 7 | use Doctrine\ORM\Mapping as ORM; |
8 | - |
|
9 | 8 | use Oro\Bundle\AddressBundle\Entity\AbstractAddress; |
10 | 9 | use Oro\Bundle\DataAuditBundle\Metadata\Annotation as Oro; |
11 | 10 | use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\Config; |
12 | 11 | use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\ConfigField; |
13 | 12 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
14 | 13 | use Oro\Bundle\UserBundle\Entity\User; |
15 | - |
|
16 | 14 | use OroCRM\Bundle\AccountBundle\Entity\Account; |
17 | 15 | use OroCRM\Bundle\AnalyticsBundle\Model\RFMAwareInterface; |
18 | 16 | use OroCRM\Bundle\AnalyticsBundle\Model\RFMAwareTrait; |
@@ -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 |
@@ -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 |
@@ -165,7 +165,7 @@ discard block |
||
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 | { |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | * @param \DateTime $start |
219 | 219 | * @param \DateTime $end |
220 | 220 | * @param AclHelper $aclHelper |
221 | - * @return float|null |
|
221 | + * @return integer|null |
|
222 | 222 | * @throws \Doctrine\ORM\NonUniqueResultException |
223 | 223 | */ |
224 | 224 | public function getAbandonRateByPeriod(\DateTime $start, \DateTime $end, AclHelper $aclHelper) |
@@ -3,9 +3,7 @@ discard block |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Provider; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ManagerRegistry; |
6 | - |
|
7 | 6 | use Psr\Log\LoggerAwareInterface; |
8 | - |
|
9 | 7 | use Oro\Bundle\ImportExportBundle\Context\ContextRegistry; |
10 | 8 | use Oro\Bundle\ImportExportBundle\Context\ContextInterface; |
11 | 9 | use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; |
@@ -14,7 +12,6 @@ discard block |
||
14 | 12 | use Oro\Bundle\IntegrationBundle\Logger\LoggerStrategy; |
15 | 13 | use Oro\Bundle\IntegrationBundle\Provider\AbstractConnector; |
16 | 14 | use Oro\Bundle\IntegrationBundle\Provider\ConnectorContextMediator; |
17 | - |
|
18 | 15 | use OroCRM\Bundle\MagentoBundle\Provider\Iterator\PredefinedFiltersAwareInterface; |
19 | 16 | use OroCRM\Bundle\MagentoBundle\Provider\Iterator\UpdatedLoaderInterface; |
20 | 17 | use OroCRM\Bundle\MagentoBundle\Provider\Transport\MagentoTransportInterface; |
@@ -3,12 +3,10 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Provider\Transport; |
4 | 4 | |
5 | 5 | use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; |
6 | - |
|
7 | 6 | use Oro\Bundle\IntegrationBundle\Entity\Transport; |
8 | 7 | use Oro\Bundle\IntegrationBundle\Provider\SOAPTransport as BaseSOAPTransport; |
9 | 8 | use Oro\Bundle\IntegrationBundle\Utils\ConverterUtils; |
10 | 9 | use Oro\Bundle\SecurityBundle\Encoder\Mcrypt; |
11 | - |
|
12 | 10 | use OroCRM\Bundle\MagentoBundle\Entity\MagentoSoapTransport; |
13 | 11 | use OroCRM\Bundle\MagentoBundle\Exception\ExtensionRequiredException; |
14 | 12 | use OroCRM\Bundle\MagentoBundle\Provider\Iterator\CartsBridgeIterator; |
@@ -3,9 +3,7 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Tests\Unit\ImportExport\Writer; |
4 | 4 | |
5 | 5 | use Akeneo\Bundle\BatchBundle\Item\ItemWriterInterface; |
6 | - |
|
7 | 6 | use Oro\Bundle\ImportExportBundle\Field\DatabaseHelper; |
8 | - |
|
9 | 7 | use OroCRM\Bundle\MagentoBundle\Entity\Cart; |
10 | 8 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
11 | 9 | use OroCRM\Bundle\MagentoBundle\Entity\Order; |
@@ -5,7 +5,6 @@ discard block |
||
5 | 5 | use Doctrine\ORM\Event\LifecycleEventArgs; |
6 | 6 | use Doctrine\ORM\Mapping as ORM; |
7 | 7 | use Doctrine\Common\Collections\ArrayCollection; |
8 | - |
|
9 | 8 | use Oro\Bundle\AddressBundle\Entity\Address; |
10 | 9 | use Oro\Bundle\DataAuditBundle\Metadata\Annotation as Oro; |
11 | 10 | use Oro\Bundle\EmailBundle\Model\EmailHolderInterface; |
@@ -17,7 +16,6 @@ discard block |
||
17 | 16 | use Oro\Bundle\LocaleBundle\Model\FullNameInterface; |
18 | 17 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowItem; |
19 | 18 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowStep; |
20 | - |
|
21 | 19 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
22 | 20 | use OroCRM\Bundle\SalesBundle\Model\ExtendLead; |
23 | 21 | use OroCRM\Bundle\ChannelBundle\Model\ChannelEntityTrait; |