@@ -86,6 +86,7 @@ discard block |
||
| 86 | 86 | |
| 87 | 87 | /** |
| 88 | 88 | * @inheritdoc |
| 89 | + * @param string $targetType |
|
| 89 | 90 | */ |
| 90 | 91 | public function convert($source, $targetType, PropertyMappingConfigurationInterface $configuration = null) |
| 91 | 92 | { |
@@ -199,7 +200,7 @@ discard block |
||
| 199 | 200 | * check the interfaces of the class. |
| 200 | 201 | * |
| 201 | 202 | * @param mixed $source |
| 202 | - * @param mixed $targetType |
|
| 203 | + * @param string $targetType |
|
| 203 | 204 | * @param array $currentPropertyPath |
| 204 | 205 | * @return array |
| 205 | 206 | */ |
@@ -227,7 +228,7 @@ discard block |
||
| 227 | 228 | * function `getInstanceClassName()`. |
| 228 | 229 | * |
| 229 | 230 | * @param mixed $source |
| 230 | - * @param mixed $targetType |
|
| 231 | + * @param string $targetType |
|
| 231 | 232 | * @param array $currentPropertyPath |
| 232 | 233 | * @return ConfigurationObjectInterface |
| 233 | 234 | */ |
@@ -285,7 +286,7 @@ discard block |
||
| 285 | 286 | * Internal function which fetches the properties of a class, and stores |
| 286 | 287 | * them in a local cache to improve performances. |
| 287 | 288 | * |
| 288 | - * @param mixed $targetType |
|
| 289 | + * @param string $targetType |
|
| 289 | 290 | * @return array|null |
| 290 | 291 | */ |
| 291 | 292 | protected function getProperties($targetType) |
@@ -135,7 +135,7 @@ |
||
| 135 | 135 | /** |
| 136 | 136 | * Internal function for `configurationObjectAfter()` |
| 137 | 137 | * |
| 138 | - * @param mixed $value Current value (object/array). |
|
| 138 | + * @param \Romm\ConfigurationObject\ConfigurationObjectInterface $value Current value (object/array). |
|
| 139 | 139 | * @param array $path Current property path. |
| 140 | 140 | * @param string $type Type of object to convert. |
| 141 | 141 | * @param object $lastObject Internal use. |