@@ -322,7 +322,7 @@ |
||
322 | 322 | } |
323 | 323 | |
324 | 324 | /** |
325 | - * @return mixed|null |
|
325 | + * @return integer|null |
|
326 | 326 | */ |
327 | 327 | public function getOwnerId() |
328 | 328 | { |
@@ -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 |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | } |
229 | 229 | |
230 | 230 | /** |
231 | - * @return mixed|null |
|
231 | + * @return integer|null |
|
232 | 232 | */ |
233 | 233 | public function getOwnerId() |
234 | 234 | { |
@@ -276,7 +276,7 @@ discard block |
||
276 | 276 | } |
277 | 277 | |
278 | 278 | /** |
279 | - * @return WorkflowStep |
|
279 | + * @return WorkflowItem |
|
280 | 280 | */ |
281 | 281 | public function getWorkflowStep() |
282 | 282 | { |
@@ -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 |
@@ -340,8 +340,8 @@ |
||
340 | 340 | } |
341 | 341 | |
342 | 342 | /** |
343 | - * @param mixed $obj |
|
344 | - * @param mixed $val |
|
343 | + * @param User $obj |
|
344 | + * @param integer $val |
|
345 | 345 | */ |
346 | 346 | protected function setId($obj, $val) |
347 | 347 | { |
@@ -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 |
@@ -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 |
@@ -294,8 +294,8 @@ discard block |
||
294 | 294 | /** |
295 | 295 | * Persist object |
296 | 296 | * |
297 | - * @param mixed $manager |
|
298 | - * @param mixed $object |
|
297 | + * @param Account $manager |
|
298 | + * @param Account $object |
|
299 | 299 | */ |
300 | 300 | private function persist($manager, $object) |
301 | 301 | { |
@@ -305,7 +305,7 @@ discard block |
||
305 | 305 | /** |
306 | 306 | * Flush objects |
307 | 307 | * |
308 | - * @param mixed $manager |
|
308 | + * @param Account $manager |
|
309 | 309 | */ |
310 | 310 | private function flush($manager) |
311 | 311 | { |
@@ -5,26 +5,20 @@ |
||
5 | 5 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
6 | 6 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
7 | 7 | use Symfony\Component\DependencyInjection\ContainerInterface; |
8 | - |
|
9 | 8 | use Doctrine\Common\Collections\Collection; |
10 | 9 | use Doctrine\Common\DataFixtures\AbstractFixture; |
11 | 10 | use Doctrine\Common\Persistence\ObjectManager; |
12 | - |
|
13 | 11 | use Doctrine\ORM\EntityManager; |
14 | 12 | use Doctrine\ORM\EntityRepository; |
15 | - |
|
16 | 13 | use OroCRM\Bundle\AccountBundle\Entity\Account; |
17 | 14 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
18 | - |
|
19 | 15 | use Oro\Bundle\AddressBundle\Entity\Country; |
20 | 16 | use Oro\Bundle\AddressBundle\Entity\Region; |
21 | - |
|
22 | 17 | use OroCRM\Bundle\ContactBundle\Entity\ContactAddress; |
23 | 18 | use OroCRM\Bundle\ContactBundle\Entity\ContactEmail; |
24 | 19 | use OroCRM\Bundle\ContactBundle\Entity\ContactPhone; |
25 | 20 | use OroCRM\Bundle\ContactBundle\Entity\Group; |
26 | 21 | use OroCRM\Bundle\ContactBundle\Entity\Source; |
27 | - |
|
28 | 22 | use Oro\Bundle\UserBundle\Entity\User; |
29 | 23 | use Oro\Bundle\UserBundle\Entity\UserManager; |
30 | 24 |
@@ -260,7 +260,7 @@ |
||
260 | 260 | /** |
261 | 261 | * Persist object |
262 | 262 | * |
263 | - * @param mixed $object |
|
263 | + * @param User $object |
|
264 | 264 | * @return void |
265 | 265 | */ |
266 | 266 | private function persist($object) |
@@ -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 |
@@ -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 |
@@ -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 |
@@ -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 |