fix phpdoc (#27433)
This commit is contained in:
parent
c70b5a2e11
commit
0a9657ac60
1 changed files with 2 additions and 2 deletions
|
|
@ -94,10 +94,10 @@ class Validate
|
|||
* Check for e-mail validity
|
||||
*
|
||||
* @param string $email e-mail address to validate
|
||||
* @param int $maxLength string max length
|
||||
* @param int $maxLength string max length (not used)
|
||||
* @return boolean Validity is ok or not
|
||||
*/
|
||||
public function isEmail($email, $maxLength = false)
|
||||
public function isEmail($email, $maxLength = 0)
|
||||
{
|
||||
if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
|
||||
$this->error = $this->outputLang->trans('RequireValidEmail');
|
||||
|
|
|
|||
Loading…
Reference in a new issue