@@ -72,7 +72,7 @@ |
||
72 | 72 | /** |
73 | 73 | * Create new route |
74 | 74 | * |
75 | - * @param string|string[] $methods The route HTTP methods |
|
75 | + * @param string[] $methods The route HTTP methods |
|
76 | 76 | * @param string $pattern The route pattern |
77 | 77 | * @param callable $callable The route callable |
78 | 78 | * @param RouteGroup[] $groups The parent route groups |
@@ -801,7 +801,7 @@ discard block |
||
801 | 801 | * These values MAY be prepared from $_FILES or the message body during |
802 | 802 | * instantiation, or MAY be injected via withUploadedFiles(). |
803 | 803 | * |
804 | - * @return array An array tree of UploadedFileInterface instances; an empty |
|
804 | + * @return UploadedFileInterface[] An array tree of UploadedFileInterface instances; an empty |
|
805 | 805 | * array MUST be returned if no data is present. |
806 | 806 | */ |
807 | 807 | public function getUploadedFiles() |
@@ -1134,7 +1134,7 @@ discard block |
||
1134 | 1134 | * @param string $key |
1135 | 1135 | * @param mixed $default |
1136 | 1136 | * |
1137 | - * @return mixed |
|
1137 | + * @return null|string |
|
1138 | 1138 | */ |
1139 | 1139 | public function getParsedBodyParam($key, $default = null) |
1140 | 1140 | { |
@@ -117,7 +117,7 @@ |
||
117 | 117 | /** |
118 | 118 | * Render exception or error as HTML. |
119 | 119 | * |
120 | - * @param \Exception|\Error $exception |
|
120 | + * @param \Exception $exception |
|
121 | 121 | * |
122 | 122 | * @return string |
123 | 123 | */ |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | /** |
68 | 68 | * Render plain not found message |
69 | 69 | * |
70 | - * @return ResponseInterface |
|
70 | + * @return string |
|
71 | 71 | */ |
72 | 72 | protected function renderPlainNotFoundOutput() |
73 | 73 | { |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | /** |
78 | 78 | * Return a response for application/json content not found |
79 | 79 | * |
80 | - * @return ResponseInterface |
|
80 | + * @return string |
|
81 | 81 | */ |
82 | 82 | protected function renderJsonNotFoundOutput() |
83 | 83 | { |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | /** |
88 | 88 | * Return a response for xml content not found |
89 | 89 | * |
90 | - * @return ResponseInterface |
|
90 | + * @return string |
|
91 | 91 | */ |
92 | 92 | protected function renderXmlNotFoundOutput() |
93 | 93 | { |