@@ -185,7 +185,7 @@ |
||
185 | 185 | /** |
186 | 186 | * Get elements to delete |
187 | 187 | * |
188 | - * @return array |
|
188 | + * @return ReminderDataInterface[] |
|
189 | 189 | */ |
190 | 190 | public function getDeleteDiff() |
191 | 191 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Component\PropertyAccess\Tests\Unit; |
4 | 4 | |
5 | 5 | use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException; |
6 | - |
|
7 | 6 | use Oro\Component\PropertyAccess\PropertyAccessor; |
8 | 7 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass; |
9 | 8 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall; |
@@ -388,7 +388,7 @@ |
||
388 | 388 | /** |
389 | 389 | * Get related entity class name |
390 | 390 | * |
391 | - * @return string |
|
391 | + * @return integer |
|
392 | 392 | */ |
393 | 393 | public function getRelatedEntityClassName() |
394 | 394 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Component\PropertyAccess\Tests\Unit; |
4 | 4 | |
5 | 5 | use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException; |
6 | - |
|
7 | 6 | use Oro\Component\PropertyAccess\PropertyAccessor; |
8 | 7 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass; |
9 | 8 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall; |
@@ -43,7 +43,7 @@ |
||
43 | 43 | /** |
44 | 44 | * @param ContainerInterface $container |
45 | 45 | * @param EngineInterface $templating |
46 | - * @param $template |
|
46 | + * @param string $template |
|
47 | 47 | */ |
48 | 48 | public function __construct(ContainerInterface $container, EngineInterface $templating, $template) |
49 | 49 | { |
@@ -4,9 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\EventManager; |
6 | 6 | use Doctrine\DBAL\Driver\Connection; |
7 | - |
|
8 | 7 | use Symfony\Component\Filesystem\Filesystem; |
9 | - |
|
10 | 8 | use Oro\Component\TestUtils\ORM\Mocks\DriverMock; |
11 | 9 | use Oro\Component\TestUtils\ORM\Mocks\EntityManagerMock; |
12 | 10 |
@@ -79,7 +79,7 @@ |
||
79 | 79 | * |
80 | 80 | * @param Query $query |
81 | 81 | * |
82 | - * @return array |
|
82 | + * @return Query |
|
83 | 83 | */ |
84 | 84 | abstract protected function doSearch(Query $query); |
85 | 85 |
@@ -6,15 +6,10 @@ |
||
6 | 6 | use Doctrine\Common\Util\ClassUtils; |
7 | 7 | use Doctrine\ORM\EntityManager; |
8 | 8 | use Doctrine\ORM\Query\Expr\OrderBy; |
9 | - |
|
10 | 9 | use JMS\JobQueueBundle\Entity\Job; |
11 | - |
|
12 | 10 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
13 | - |
|
14 | 11 | use Oro\Bundle\BatchBundle\ORM\Query\BufferedQueryResultIterator; |
15 | - |
|
16 | 12 | use Oro\Bundle\EntityBundle\ORM\DoctrineHelper; |
17 | - |
|
18 | 13 | use Oro\Bundle\SearchBundle\Command\IndexCommand; |
19 | 14 | use Oro\Bundle\SearchBundle\Entity\Query as QueryLog; |
20 | 15 | use Oro\Bundle\SearchBundle\Event\BeforeSearchEvent; |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | /** |
74 | 74 | * Get array with mapped entities |
75 | 75 | * |
76 | - * @return array |
|
76 | + * @return string[] |
|
77 | 77 | */ |
78 | 78 | public function getEntitiesListAliases() |
79 | 79 | { |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | /** |
112 | 112 | * Get list of entities allowed to user |
113 | 113 | * |
114 | - * @return array |
|
114 | + * @return string[] |
|
115 | 115 | */ |
116 | 116 | public function getAllowedEntitiesListAliases() |
117 | 117 | { |
@@ -4,16 +4,13 @@ |
||
4 | 4 | |
5 | 5 | use Oro\Bundle\WorkflowBundle\Model\ContextAccessor; |
6 | 6 | use Symfony\Component\Form\Test\FormIntegrationTestCase; |
7 | - |
|
8 | 7 | use Oro\Bundle\WorkflowBundle\Form\EventListener\DefaultValuesListener; |
9 | 8 | use Oro\Bundle\WorkflowBundle\Form\EventListener\InitActionsListener; |
10 | 9 | use Oro\Bundle\WorkflowBundle\Form\EventListener\RequiredAttributesListener; |
11 | 10 | use Oro\Bundle\WorkflowBundle\Form\Type\WorkflowAttributesType; |
12 | - |
|
13 | 11 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowItem; |
14 | 12 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowStep; |
15 | 13 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowDefinition; |
16 | - |
|
17 | 14 | use Oro\Bundle\WorkflowBundle\Model\Step; |
18 | 15 | use Oro\Bundle\WorkflowBundle\Model\Attribute; |
19 | 16 | use Oro\Bundle\WorkflowBundle\Model\WorkflowData; |
@@ -275,7 +275,7 @@ |
||
275 | 275 | /** |
276 | 276 | * Get search index repository |
277 | 277 | * |
278 | - * @return OroEntitymanager |
|
278 | + * @return \Doctrine\Common\Persistence\ObjectManager|null |
|
279 | 279 | */ |
280 | 280 | protected function getIndexManager() |
281 | 281 | { |
@@ -4,9 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\EventManager; |
6 | 6 | use Doctrine\DBAL\Driver\Connection; |
7 | - |
|
8 | 7 | use Symfony\Component\Filesystem\Filesystem; |
9 | - |
|
10 | 8 | use Oro\Component\TestUtils\ORM\Mocks\DriverMock; |
11 | 9 | use Oro\Component\TestUtils\ORM\Mocks\EntityManagerMock; |
12 | 10 |
@@ -282,9 +282,10 @@ |
||
282 | 282 | /** |
283 | 283 | * Create search string for non string parameters |
284 | 284 | * |
285 | - * @param $joinAlias |
|
286 | - * @param $index |
|
285 | + * @param string $joinAlias |
|
286 | + * @param integer $index |
|
287 | 287 | * @param $condition |
288 | + * @param string $operator |
|
288 | 289 | * |
289 | 290 | * @return string |
290 | 291 | */ |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Component\PropertyAccess\Tests\Unit; |
4 | 4 | |
5 | 5 | use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException; |
6 | - |
|
7 | 6 | use Oro\Component\PropertyAccess\PropertyAccessor; |
8 | 7 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass; |
9 | 8 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall; |
@@ -199,7 +199,7 @@ |
||
199 | 199 | * |
200 | 200 | * @param QueryBuilder $qb |
201 | 201 | * @param array $words |
202 | - * @param $index |
|
202 | + * @param integer $index |
|
203 | 203 | * @param array $searchCondition |
204 | 204 | * |
205 | 205 | * @return string |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Component\PropertyAccess\Tests\Unit; |
4 | 4 | |
5 | 5 | use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException; |
6 | - |
|
7 | 6 | use Oro\Component\PropertyAccess\PropertyAccessor; |
8 | 7 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass; |
9 | 8 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall; |
@@ -74,7 +74,7 @@ |
||
74 | 74 | } |
75 | 75 | |
76 | 76 | /** |
77 | - * @param $realTime bool |
|
77 | + * @param boolean $realTime bool |
|
78 | 78 | */ |
79 | 79 | public function setRealTimeUpdate($realTime) |
80 | 80 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Component\PropertyAccess\Tests\Unit; |
4 | 4 | |
5 | 5 | use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException; |
6 | - |
|
7 | 6 | use Oro\Component\PropertyAccess\PropertyAccessor; |
8 | 7 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass; |
9 | 8 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall; |