@@ -204,7 +204,7 @@ |
||
| 204 | 204 | * @param mixed $data |
| 205 | 205 | * @param mixed $subject |
| 206 | 206 | * |
| 207 | - * @return bool |
|
| 207 | + * @return integer |
|
| 208 | 208 | */ |
| 209 | 209 | private function checkWildcardMatch($data, $subject) |
| 210 | 210 | { |
@@ -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) |
@@ -117,7 +117,7 @@ |
||
| 117 | 117 | return $this->container; |
| 118 | 118 | } |
| 119 | 119 | |
| 120 | - /** |
|
| 120 | + /** |
|
| 121 | 121 | * Runs the application. This is where the magic happens. |
| 122 | 122 | * For example for a web application this initializes the Request and Response objects, builds the middleware |
| 123 | 123 | * pipeline, applies the Routing and the Dispatch. |
@@ -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) |