@@ -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. |
@@ -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 | { |
@@ -108,6 +109,7 @@ discard block |
||
108 | 109 | * Will recursively fill all the properties of the configuration object. |
109 | 110 | * |
110 | 111 | * @inheritdoc |
112 | + * @param string $targetType |
|
111 | 113 | */ |
112 | 114 | protected function doMapping($source, $targetType, PropertyMappingConfigurationInterface $configuration, &$currentPropertyPath) |
113 | 115 | { |
@@ -199,7 +201,7 @@ discard block |
||
199 | 201 | * check the interfaces of the class. |
200 | 202 | * |
201 | 203 | * @param mixed $source |
202 | - * @param mixed $targetType |
|
204 | + * @param string $targetType |
|
203 | 205 | * @param array $currentPropertyPath |
204 | 206 | * @return array |
205 | 207 | */ |
@@ -227,7 +229,7 @@ discard block |
||
227 | 229 | * function `getInstanceClassName()`. |
228 | 230 | * |
229 | 231 | * @param mixed $source |
230 | - * @param mixed $targetType |
|
232 | + * @param string $targetType |
|
231 | 233 | * @param array $currentPropertyPath |
232 | 234 | * @return ConfigurationObjectInterface |
233 | 235 | */ |
@@ -255,7 +257,7 @@ discard block |
||
255 | 257 | * |
256 | 258 | * @param mixed $source |
257 | 259 | * @param mixed $targetType |
258 | - * @param mixed $configuration |
|
260 | + * @param PropertyMappingConfigurationInterface $configuration |
|
259 | 261 | * @return TypeConverterInterface |
260 | 262 | * @throws TypeConverterException |
261 | 263 | */ |
@@ -285,7 +287,7 @@ discard block |
||
285 | 287 | * Internal function which fetches the properties of a class, and stores |
286 | 288 | * them in a local cache to improve performances. |
287 | 289 | * |
288 | - * @param mixed $targetType |
|
290 | + * @param string $targetType |
|
289 | 291 | * @return array|null |
290 | 292 | */ |
291 | 293 | protected function getProperties($targetType) |