@@ -814,7 +814,7 @@ discard block |
||
814 | 814 | * These values MAY be prepared from $_FILES or the message body during |
815 | 815 | * instantiation, or MAY be injected via withUploadedFiles(). |
816 | 816 | * |
817 | - * @return array |
|
817 | + * @return UploadedFileInterface[] |
|
818 | 818 | */ |
819 | 819 | public function getUploadedFiles() |
820 | 820 | { |
@@ -1142,7 +1142,7 @@ discard block |
||
1142 | 1142 | * @param string $key |
1143 | 1143 | * @param mixed $default |
1144 | 1144 | * |
1145 | - * @return mixed |
|
1145 | + * @return null|string |
|
1146 | 1146 | */ |
1147 | 1147 | public function getParsedBodyParam($key, $default = null) |
1148 | 1148 | { |
@@ -111,7 +111,7 @@ |
||
111 | 111 | /** |
112 | 112 | * Render exception or error as HTML. |
113 | 113 | * |
114 | - * @param Exception|\Error $exception |
|
114 | + * @param Exception $exception |
|
115 | 115 | * |
116 | 116 | * @return string |
117 | 117 | * |
@@ -262,7 +262,7 @@ |
||
262 | 262 | * code to 302 to mimic what PHP does. See https://github.com/slimphp/Slim/issues/1730 |
263 | 263 | * |
264 | 264 | * @param string $name Case-insensitive header field name. |
265 | - * @param string|string[] $value Header value(s). |
|
265 | + * @param string $value Header value(s). |
|
266 | 266 | * |
267 | 267 | * @return static |
268 | 268 | * |
@@ -73,7 +73,7 @@ |
||
73 | 73 | protected $savedArguments = []; |
74 | 74 | |
75 | 75 | /** |
76 | - * @param string|string[] $methods The route HTTP methods |
|
76 | + * @param string[] $methods The route HTTP methods |
|
77 | 77 | * @param string $pattern The route pattern |
78 | 78 | * @param callable $callable The route callable |
79 | 79 | * @param RouteGroup[] $groups The parent route groups |