@@ -239,6 +239,10 @@ |
||
| 239 | 239 | return $this->route->uri(); |
| 240 | 240 | } |
| 241 | 241 | |
| 242 | + /** |
|
| 243 | + * @param string $type |
|
| 244 | + * @param string $text |
|
| 245 | + */ |
|
| 242 | 246 | protected function setError($type, $text, $params = []) |
| 243 | 247 | { |
| 244 | 248 | $this->errors[$type] = trans($text, $params); |
@@ -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 | { |