@@ -82,7 +82,7 @@ |
||
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
85 | - * @param object $entity |
|
85 | + * @param \OroCRM\Bundle\MagentoBundle\Entity\Customer $entity |
|
86 | 86 | * @return object|null |
87 | 87 | */ |
88 | 88 | public function discoverSimilar($entity) |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace OroCRM\Bundle\TestFrameworkBundle\Tests\Performance; |
4 | 4 | |
5 | 5 | use Symfony\Bundle\FrameworkBundle\Console\Application; |
6 | - |
|
7 | 6 | use Symfony\Component\HttpKernel\Kernel; |
8 | 7 | use Symfony\Component\DependencyInjection\Container; |
9 | - |
|
10 | 8 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
11 | 9 | |
12 | 10 | class LoadTest extends WebTestCase |
@@ -165,7 +165,7 @@ |
||
165 | 165 | |
166 | 166 | /** |
167 | 167 | * @param QueryBuilder $qb |
168 | - * @param $alias |
|
168 | + * @param string $alias |
|
169 | 169 | * @param $address |
170 | 170 | * @param array $fields |
171 | 171 | * @param array $configuration |
@@ -61,8 +61,8 @@ |
||
61 | 61 | |
62 | 62 | |
63 | 63 | /** |
64 | - * @param $firstName |
|
65 | - * @param $lastname |
|
64 | + * @param string $firstName |
|
65 | + * @param string $lastname |
|
66 | 66 | */ |
67 | 67 | protected function createCustomer($firstName, $lastname) |
68 | 68 | { |
@@ -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; |
@@ -129,8 +129,8 @@ discard block |
||
129 | 129 | } |
130 | 130 | |
131 | 131 | /** |
132 | - * @param $billing |
|
133 | - * @param $shipping |
|
132 | + * @param CartAddress $billing |
|
133 | + * @param CartAddress $shipping |
|
134 | 134 | * @param Customer $customer |
135 | 135 | * @param ArrayCollection $item |
136 | 136 | * @param CartStatus $status |
@@ -170,8 +170,8 @@ discard block |
||
170 | 170 | } |
171 | 171 | |
172 | 172 | /** |
173 | - * @param $table |
|
174 | - * @param $method |
|
173 | + * @param string $table |
|
174 | + * @param string $method |
|
175 | 175 | * |
176 | 176 | * @return array |
177 | 177 | */ |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | /** |
234 | 234 | * @param $region |
235 | 235 | * @param $country |
236 | - * @param $originId |
|
236 | + * @param integer $originId |
|
237 | 237 | * |
238 | 238 | * @return CartAddress |
239 | 239 | */ |
@@ -307,7 +307,7 @@ discard block |
||
307 | 307 | } |
308 | 308 | |
309 | 309 | /** |
310 | - * @param $oid |
|
310 | + * @param integer $oid |
|
311 | 311 | * @param Account $account |
312 | 312 | * @param MagentoAddress $address |
313 | 313 | * |
@@ -4,15 +4,12 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
6 | 6 | use Doctrine\ORM\EntityRepository; |
7 | - |
|
8 | 7 | use Doctrine\Common\DataFixtures\AbstractFixture; |
9 | 8 | use Doctrine\Common\Persistence\ObjectManager; |
10 | - |
|
11 | 9 | use Oro\Bundle\OrganizationBundle\Entity\BusinessUnit; |
12 | 10 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
13 | 11 | use Symfony\Component\DependencyInjection\ContainerInterface; |
14 | 12 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
15 | - |
|
16 | 13 | use Oro\Bundle\UserBundle\Entity\UserManager; |
17 | 14 | use Oro\Bundle\UserBundle\Entity\User; |
18 | 15 |
@@ -113,9 +113,9 @@ |
||
113 | 113 | } |
114 | 114 | |
115 | 115 | /** |
116 | - * @param object $entity |
|
116 | + * @param RFMMetricCategory $entity |
|
117 | 117 | * @param array $data |
118 | - * @param array $excludeProperties |
|
118 | + * @param string[] $excludeProperties |
|
119 | 119 | */ |
120 | 120 | public function setEntityPropertyValues($entity, array $data, array $excludeProperties = []) |
121 | 121 | { |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace OroCRM\Bundle\TestFrameworkBundle\Tests\Performance; |
4 | 4 | |
5 | 5 | use Symfony\Bundle\FrameworkBundle\Console\Application; |
6 | - |
|
7 | 6 | use Symfony\Component\HttpKernel\Kernel; |
8 | 7 | use Symfony\Component\DependencyInjection\Container; |
9 | - |
|
10 | 8 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
11 | 9 | |
12 | 10 | class LoadTest extends WebTestCase |
@@ -114,9 +114,9 @@ |
||
114 | 114 | } |
115 | 115 | |
116 | 116 | /** |
117 | - * @param object $entity |
|
117 | + * @param Order $entity |
|
118 | 118 | * @param array $data |
119 | - * @param array $excludeProperties |
|
119 | + * @param string[] $excludeProperties |
|
120 | 120 | */ |
121 | 121 | public function setEntityPropertyValues($entity, array $data, array $excludeProperties = []) |
122 | 122 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\Validator\Constraint; |
6 | 6 | use Symfony\Component\Validator\ConstraintValidator; |
7 | - |
|
8 | 7 | use OroCRM\Bundle\TaskBundle\Validator\Constraints\DueDateRequired; |
9 | 8 | use OroCRM\Bundle\TaskBundle\Entity\Task; |
10 | 9 |
@@ -168,7 +168,7 @@ |
||
168 | 168 | } |
169 | 169 | |
170 | 170 | /** |
171 | - * @return object |
|
171 | + * @return Customer |
|
172 | 172 | */ |
173 | 173 | protected function getObject() |
174 | 174 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\Validator\Constraint; |
6 | 6 | use Symfony\Component\Validator\ConstraintValidator; |
7 | - |
|
8 | 7 | use OroCRM\Bundle\TaskBundle\Validator\Constraints\DueDateRequired; |
9 | 8 | use OroCRM\Bundle\TaskBundle\Entity\Task; |
10 | 9 |
@@ -289,7 +289,7 @@ |
||
289 | 289 | * @param mixed $stepExecutionMock |
290 | 290 | * @param null|Channel $channel |
291 | 291 | * |
292 | - * @param null $context |
|
292 | + * @param Context $context |
|
293 | 293 | * |
294 | 294 | * @return AbstractMagentoConnector |
295 | 295 | */ |
@@ -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; |
@@ -2,10 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Tests\Unit\Provider; |
4 | 4 | |
5 | -use Doctrine\ORM\Query\Expr; |
|
6 | - |
|
7 | 5 | use OroCRM\Bundle\MagentoBundle\Entity\MagentoSoapTransport; |
8 | -use OroCRM\Bundle\MagentoBundle\Provider\Connector\InitialNewsletterSubscriberConnector; |
|
9 | 6 | use OroCRM\Bundle\MagentoBundle\Provider\NewsletterSubscriberInitialSyncProcessor; |
10 | 7 | use OroCRM\Bundle\MagentoBundle\Tests\Unit\Provider\Stub\InitialConnector; |
11 | 8 |