@@ -214,7 +214,7 @@ discard block |
||
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 | } |
@@ -334,7 +334,7 @@ discard block |
||
334 | 334 | |
335 | 335 | return $value; |
336 | 336 | } |
337 | - private static function setMaxMin($type, $value, $min_length, $max_length){ |
|
337 | + private static function setMaxMin($type, $value, $min_length, $max_length) { |
|
338 | 338 | switch ($type) { |
339 | 339 | case 'integer': |
340 | 340 | case 'float': |