@@ -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); |