@@ -115,8 +115,6 @@ |
||
115 | 115 | * Prepares a request. |
116 | 116 | * |
117 | 117 | * @param string $actionPath The path of action. |
118 | - * @param string $method The http method. |
|
119 | - * @param array $data The parameters of action. |
|
120 | 118 | * @param array $server The server parameters. |
121 | 119 | * |
122 | 120 | * @return Request |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | /** |
44 | 44 | * Getter for content. |
45 | 45 | * |
46 | - * @return mixed |
|
46 | + * @return string|null |
|
47 | 47 | */ |
48 | 48 | public function getContent() |
49 | 49 | { |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | * @param mixed $content The content of response. |
157 | 157 | * @param integer $statusCode The code status of response. |
158 | 158 | * |
159 | - * @return \static |
|
159 | + * @return Response |
|
160 | 160 | */ |
161 | 161 | public static function create($content, $statusCode) |
162 | 162 | { |