@@ -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; |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | * Get url for entity |
64 | 64 | * |
65 | 65 | * @param object $entity |
66 | - * @param $item \Oro\Bundle\SearchBundle\Query\Result\Item |
|
66 | + * @param \Oro\Bundle\SearchBundle\Query\Result\Item $item \Oro\Bundle\SearchBundle\Query\Result\Item |
|
67 | 67 | * @return string |
68 | 68 | */ |
69 | 69 | protected function getEntityUrl($entity, $item) |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | * Get entity string |
116 | 116 | * |
117 | 117 | * @param $entity object |
118 | - * @param $item \Oro\Bundle\SearchBundle\Query\Result\Item |
|
118 | + * @param \Oro\Bundle\SearchBundle\Query\Result\Item $item \Oro\Bundle\SearchBundle\Query\Result\Item |
|
119 | 119 | * |
120 | 120 | * @return string |
121 | 121 | */ |
@@ -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 |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | } |
106 | 106 | |
107 | 107 | /** |
108 | - * @return mixed |
|
108 | + * @return string |
|
109 | 109 | */ |
110 | 110 | public function getSortBy() |
111 | 111 | { |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | } |
114 | 114 | |
115 | 115 | /** |
116 | - * @return mixed |
|
116 | + * @return string|null |
|
117 | 117 | */ |
118 | 118 | public function getSortOrder() |
119 | 119 | { |
@@ -99,7 +99,7 @@ |
||
99 | 99 | /** |
100 | 100 | * Get entity class name from alias |
101 | 101 | * |
102 | - * @param $aliasName |
|
102 | + * @param string $aliasName |
|
103 | 103 | * |
104 | 104 | * @return bool|string |
105 | 105 | */ |
@@ -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; |
@@ -238,7 +238,7 @@ |
||
238 | 238 | } |
239 | 239 | |
240 | 240 | /** |
241 | - * @return \PHPUnit_Framework_MockObject_MockObject |
|
241 | + * @return \Doctrine\ORM\EntityManagerInterface |
|
242 | 242 | */ |
243 | 243 | protected function createEntityManager() |
244 | 244 | { |
@@ -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; |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | * |
131 | 131 | * @param string $entityName |
132 | 132 | * @param array $entities |
133 | - * @param array $entityIds |
|
133 | + * @param integer[] $entityIds |
|
134 | 134 | * @return EntityRepository |
135 | 135 | */ |
136 | 136 | protected function prepareEntityRepository($entityName, array $entities, array $entityIds) |
@@ -225,7 +225,7 @@ discard block |
||
225 | 225 | /** |
226 | 226 | * Get list of test indexer rows |
227 | 227 | * |
228 | - * @return array |
|
228 | + * @return Item[] |
|
229 | 229 | */ |
230 | 230 | protected function getIndexerRows() |
231 | 231 | { |
@@ -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; |
@@ -66,8 +66,8 @@ |
||
66 | 66 | /** |
67 | 67 | * Trim and highlight text by search string |
68 | 68 | * |
69 | - * @param $text |
|
70 | - * @param $searchString |
|
69 | + * @param string $text |
|
70 | + * @param string $searchString |
|
71 | 71 | * @param int $symbolCount |
72 | 72 | * |
73 | 73 | * @return string |