@@ -63,7 +63,7 @@ |
||
63 | 63 | * |
64 | 64 | * @param array $virtualFieldQuery |
65 | 65 | * |
66 | - * @return string[]|null |
|
66 | + * @return null|string |
|
67 | 67 | */ |
68 | 68 | protected function getPropertyPath($virtualFieldQuery) |
69 | 69 | { |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | * @param string $attribute The name of the entity config attribute which indicates |
104 | 104 | * whether the association is enabled or not |
105 | 105 | * |
106 | - * @return callable |
|
106 | + * @return \Closure |
|
107 | 107 | */ |
108 | 108 | public function getSingleOwnerFilter($scope, $attribute = 'enabled') |
109 | 109 | { |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | * @param string $attribute The name of the entity config attribute which is used to store |
122 | 122 | * enabled associations |
123 | 123 | * |
124 | - * @return callable |
|
124 | + * @return \Closure |
|
125 | 125 | */ |
126 | 126 | public function getMultiOwnerFilter($scope, $attribute) |
127 | 127 | { |
@@ -199,7 +199,7 @@ |
||
199 | 199 | * @param $fieldName |
200 | 200 | * @param $definition |
201 | 201 | * |
202 | - * @return bool|string |
|
202 | + * @return boolean |
|
203 | 203 | */ |
204 | 204 | protected function isAssociationCompletionRequired($fieldName, $definition) |
205 | 205 | { |
@@ -200,7 +200,7 @@ |
||
200 | 200 | * |
201 | 201 | * @param string $scope |
202 | 202 | * @param string $code |
203 | - * @param mixed $value |
|
203 | + * @param string $value |
|
204 | 204 | * @return ConfigModelIndexValue |
205 | 205 | */ |
206 | 206 | abstract protected function createIndexedValue($scope, $code, $value); |
@@ -252,7 +252,7 @@ discard block |
||
252 | 252 | * @param object|string $entityOrClass An entity object, entity class name or entity proxy class name |
253 | 253 | * @param bool $throwException Whether to throw exception in case the entity is not manageable |
254 | 254 | * |
255 | - * @return ClassMetadata|null |
|
255 | + * @return \Doctrine\Common\Persistence\Mapping\ClassMetadata|null |
|
256 | 256 | * |
257 | 257 | * @throws Exception\NotManageableEntityException if the EntityManager was not found and $throwException is TRUE |
258 | 258 | */ |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | * @param string $entityClass The real class name of an entity |
271 | 271 | * @param bool $throwException Whether to throw exception in case the entity is not manageable |
272 | 272 | * |
273 | - * @return ClassMetadata|null |
|
273 | + * @return \Doctrine\Common\Persistence\Mapping\ClassMetadata|null |
|
274 | 274 | * |
275 | 275 | * @throws Exception\NotManageableEntityException if the EntityManager was not found and $throwException is TRUE |
276 | 276 | */ |
@@ -289,7 +289,7 @@ discard block |
||
289 | 289 | * @param object|string $entityOrClass An entity object, entity class name or entity proxy class name |
290 | 290 | * @param bool $throwException Whether to throw exception in case the entity is not manageable |
291 | 291 | * |
292 | - * @return EntityManager|null |
|
292 | + * @return \Doctrine\Common\Persistence\ObjectManager|null |
|
293 | 293 | * |
294 | 294 | * @throws Exception\NotManageableEntityException if the EntityManager was not found and $throwException is TRUE |
295 | 295 | */ |
@@ -307,7 +307,7 @@ discard block |
||
307 | 307 | * @param string $entityClass The real class name of an entity |
308 | 308 | * @param bool $throwException Whether to throw exception in case the entity is not manageable |
309 | 309 | * |
310 | - * @return EntityManager|null |
|
310 | + * @return \Doctrine\Common\Persistence\ObjectManager|null |
|
311 | 311 | * |
312 | 312 | * @throws Exception\NotManageableEntityException if the EntityManager was not found and $throwException is TRUE |
313 | 313 | */ |
@@ -439,7 +439,7 @@ discard block |
||
439 | 439 | /** |
440 | 440 | * @param string $entityClass The real class name of an entity |
441 | 441 | * |
442 | - * @return EntityManager|null |
|
442 | + * @return \Doctrine\Common\Persistence\ObjectManager|null |
|
443 | 443 | */ |
444 | 444 | private function getManagerForClass($entityClass) |
445 | 445 | { |
@@ -166,7 +166,7 @@ |
||
166 | 166 | } |
167 | 167 | |
168 | 168 | /** |
169 | - * @return mixed |
|
169 | + * @return string |
|
170 | 170 | */ |
171 | 171 | public function getEntityClass() |
172 | 172 | { |