@@ -22,7 +22,7 @@ |
||
22 | 22 | /** |
23 | 23 | * Sets element value. |
24 | 24 | * |
25 | - * @param mixed $value |
|
25 | + * @param string $value |
|
26 | 26 | * @return RadioElement |
27 | 27 | */ |
28 | 28 | public function setValue($value) |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | /** |
141 | 141 | * Sets element value. |
142 | 142 | * |
143 | - * @param mixed $value |
|
143 | + * @param string $value |
|
144 | 144 | * @return AbstractElement |
145 | 145 | */ |
146 | 146 | public function setValue($value) |
@@ -262,7 +262,7 @@ discard block |
||
262 | 262 | /** |
263 | 263 | * Sets the element errors. Usually the validator should set it, but it is allowed to set from outside too. |
264 | 264 | * |
265 | - * @param array $errors |
|
265 | + * @param string[] $errors |
|
266 | 266 | * @return AbstractElement |
267 | 267 | */ |
268 | 268 | public function setErrors(array $errors) |
@@ -222,7 +222,7 @@ discard block |
||
222 | 222 | /** |
223 | 223 | * Creates a safe normalized name. |
224 | 224 | * |
225 | - * @param $className |
|
225 | + * @param string|null $className |
|
226 | 226 | * @param $argumentName |
227 | 227 | * |
228 | 228 | * @return string |
@@ -290,7 +290,7 @@ discard block |
||
290 | 290 | /** |
291 | 291 | * Sets service argument. |
292 | 292 | * |
293 | - * @param string|Definition $service |
|
293 | + * @param Definition $service |
|
294 | 294 | * @param mixed $parameter |
295 | 295 | * |
296 | 296 | * @throws RuntimeException |
@@ -356,7 +356,7 @@ discard block |
||
356 | 356 | /** |
357 | 357 | * Checks whether the service is shared and initialized |
358 | 358 | * |
359 | - * @param $serviceClass |
|
359 | + * @param string|null $serviceClass |
|
360 | 360 | * @throws RuntimeException |
361 | 361 | */ |
362 | 362 | private function checkSharedServiceClassState($serviceClass) |