Skip to content

Commit d713a26

Browse files
committed
Fix isValid call
1 parent 0ffe144 commit d713a26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Rules/StudentEmail.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class StudentEmail implements Rule
1111
*/
1212
public function passes($attribute, $value)
1313
{
14-
return app('student-validator')->isValid($value);
14+
return app('student-validator')->isValidEmail($value);
1515
}
1616

1717
/**

0 commit comments

Comments
 (0)