Skip to content

Commit

Permalink
FIX EmailField::validate returns bool
Browse files Browse the repository at this point in the history
Just a minor phpdoc update
  • Loading branch information
lekoala authored Feb 25, 2025
1 parent 4d950df commit f254ccf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Forms/EmailField.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ public function Type()
* @see http://www.ietf.org/rfc/rfc2822.txt
*
* @param Validator $validator
*
* @return string
* @return bool
*/
public function validate($validator)
{
Expand Down

0 comments on commit f254ccf

Please sign in to comment.