@@ -236,6 +236,9 @@ |
||
| 236 | 236 | return $value; |
| 237 | 237 | } |
| 238 | 238 | |
| 239 | + /** |
|
| 240 | + * @param string $key |
|
| 241 | + */ |
|
| 239 | 242 | private static function filterValidate($input_type, $key, $value, $format) |
| 240 | 243 | { |
| 241 | 244 | $filter_check = null; |
@@ -214,7 +214,7 @@ |
||
| 214 | 214 | default: |
| 215 | 215 | if ($max_length !== null) { |
| 216 | 216 | if (strlen($value)>$max_length) { |
| 217 | - throw new \Exception("Error for value '".$value."' for '".$key."' couldn't pass the " . |
|
| 217 | + throw new \Exception("Error for value '".$value."' for '".$key."' couldn't pass the ". |
|
| 218 | 218 | "validation: It's length must be smaller than ".$max_length." "); |
| 219 | 219 | } |
| 220 | 220 | } |