@@ -6,7 +6,6 @@ |
||
6 | 6 | use Symfony\Component\Validator\Constraint; |
7 | 7 | use Symfony\Component\Validator\ConstraintValidator; |
8 | 8 | use Symfony\Component\Validator\Exception\UnexpectedTypeException; |
9 | - |
|
10 | 9 | use Oro\Bundle\QueryDesignerBundle\Model\AbstractQueryDesigner; |
11 | 10 | use OroCRM\Bundle\MarketingListBundle\Model\ContactInformationFieldHelper; |
12 | 11 | use OroCRM\Bundle\MarketingListBundle\Validator\Constraints\ContactInformationColumnConstraint; |
@@ -7,10 +7,8 @@ |
||
7 | 7 | use Doctrine\Common\DataFixtures\OrderedFixtureInterface; |
8 | 8 | use Doctrine\Common\Persistence\ObjectManager; |
9 | 9 | use Doctrine\ORM\EntityManager; |
10 | - |
|
11 | 10 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
12 | 11 | use Symfony\Component\DependencyInjection\ContainerInterface; |
13 | - |
|
14 | 12 | use Oro\Bundle\AddressBundle\Entity\Address; |
15 | 13 | use Oro\Bundle\AddressBundle\Entity\Country; |
16 | 14 | use Oro\Bundle\AddressBundle\Entity\Region; |
@@ -6,15 +6,12 @@ |
||
6 | 6 | use FOS\RestBundle\Controller\Annotations\NamePrefix; |
7 | 7 | use FOS\RestBundle\Controller\Annotations\QueryParam; |
8 | 8 | use FOS\RestBundle\Controller\Annotations\RouteResource; |
9 | - |
|
10 | 9 | use Oro\Bundle\AddressBundle\Utils\AddressApiUtils; |
11 | 10 | use Oro\Bundle\SecurityBundle\Annotation\Acl; |
12 | 11 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
13 | 12 | use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager; |
14 | 13 | use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController; |
15 | - |
|
16 | 14 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
17 | - |
|
18 | 15 | use Symfony\Component\HttpFoundation\Response; |
19 | 16 | |
20 | 17 | /** |
@@ -7,12 +7,9 @@ |
||
7 | 7 | use FOS\RestBundle\Controller\Annotations\RouteResource; |
8 | 8 | use FOS\RestBundle\Routing\ClassResourceInterface; |
9 | 9 | use FOS\RestBundle\Util\Codes; |
10 | - |
|
11 | 10 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
12 | - |
|
13 | 11 | use Symfony\Component\Form\FormInterface; |
14 | 12 | use Symfony\Component\HttpFoundation\Response; |
15 | - |
|
16 | 13 | use Oro\Bundle\SecurityBundle\Annotation\Acl; |
17 | 14 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
18 | 15 | use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController; |
@@ -4,17 +4,13 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\Form\FormInterface; |
6 | 6 | use Symfony\Component\HttpFoundation\Response; |
7 | - |
|
8 | 7 | use FOS\RestBundle\Controller\Annotations\NamePrefix; |
9 | 8 | use FOS\RestBundle\Controller\Annotations\RouteResource; |
10 | 9 | use FOS\RestBundle\Controller\Annotations\QueryParam; |
11 | 10 | use FOS\RestBundle\Routing\ClassResourceInterface; |
12 | - |
|
13 | 11 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
14 | - |
|
15 | 12 | use Oro\Bundle\SecurityBundle\Annotation\Acl; |
16 | 13 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
17 | - |
|
18 | 14 | use Oro\Bundle\SoapBundle\Form\Handler\ApiFormHandler; |
19 | 15 | use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController; |
20 | 16 | use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager; |
@@ -4,17 +4,13 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\Form\FormInterface; |
6 | 6 | use Symfony\Component\HttpFoundation\Response; |
7 | - |
|
8 | 7 | use FOS\RestBundle\Controller\Annotations\NamePrefix; |
9 | 8 | use FOS\RestBundle\Controller\Annotations\RouteResource; |
10 | 9 | use FOS\RestBundle\Controller\Annotations\QueryParam; |
11 | 10 | use FOS\RestBundle\Routing\ClassResourceInterface; |
12 | - |
|
13 | 11 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
14 | - |
|
15 | 12 | use Oro\Bundle\SecurityBundle\Annotation\Acl; |
16 | 13 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
17 | - |
|
18 | 14 | use Oro\Bundle\SoapBundle\Form\Handler\ApiFormHandler; |
19 | 15 | use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController; |
20 | 16 | use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager; |
@@ -5,10 +5,8 @@ |
||
5 | 5 | use Oro\Bundle\EntityExtendBundle\Twig\EnumExtension; |
6 | 6 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
7 | 7 | use Symfony\Component\Translation\TranslatorInterface; |
8 | - |
|
9 | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
10 | 9 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
11 | - |
|
12 | 10 | use Oro\Bundle\WorkflowBundle\Model\WorkflowManager; |
13 | 11 | use OroCRM\Bundle\SalesBundle\Entity\Repository\SalesFunnelRepository; |
14 | 12 |
@@ -962,7 +962,7 @@ |
||
962 | 962 | /** |
963 | 963 | * Get opportunities |
964 | 964 | * |
965 | - * @return Opportunity[] |
|
965 | + * @return ArrayCollection |
|
966 | 966 | */ |
967 | 967 | public function getOpportunities() |
968 | 968 | { |
@@ -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; |
@@ -4,7 +4,6 @@ discard block |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\Event\LifecycleEventArgs; |
6 | 6 | use Doctrine\ORM\Mapping as ORM; |
7 | - |
|
8 | 7 | use Oro\Bundle\DataAuditBundle\Metadata\Annotation as Oro; |
9 | 8 | use Oro\Bundle\EmailBundle\Model\EmailHolderInterface; |
10 | 9 | use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\Config; |
@@ -13,7 +12,6 @@ discard block |
||
13 | 12 | use Oro\Bundle\UserBundle\Entity\User; |
14 | 13 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowItem; |
15 | 14 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowStep; |
16 | - |
|
17 | 15 | use OroCRM\Bundle\ChannelBundle\Model\ChannelEntityTrait; |
18 | 16 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
19 | 17 | use OroCRM\Bundle\SalesBundle\Model\ExtendOpportunity; |