@@ -32,7 +32,7 @@ |
||
32 | 32 | } |
33 | 33 | |
34 | 34 | /** |
35 | - * @return mixed |
|
35 | + * @return \Symfony\Component\HttpFoundation\Response |
|
36 | 36 | */ |
37 | 37 | public function index() |
38 | 38 | { |
@@ -237,6 +237,10 @@ |
||
237 | 237 | return $this->route->$methodName(); |
238 | 238 | } |
239 | 239 | |
240 | + /** |
|
241 | + * @param string $type |
|
242 | + * @param string $text |
|
243 | + */ |
|
240 | 244 | protected function setError($type, $text, $params = []) |
241 | 245 | { |
242 | 246 | $this->errors[$type] = trans($text, $params); |