We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a6deef commit be70bc2Copy full SHA for be70bc2
src/UserVerification.php
@@ -89,11 +89,13 @@ protected function generateToken()
89
* @param \Illuminate\Contracts\Auth\Authenticatable $user
90
* @param string $subject
91
* @return bool
92
+ *
93
+ * @throws \Jrean\UserVerification\Exceptions\ModelNotCompliantException
94
*/
95
public function send(AuthenticatableContract $user, $subject = null)
96
{
97
if (! $this->isCompliant($user)) {
- throw new VerificationException();
98
+ throw new ModelNotCompliantException();
99
}
100
101
return (boolean) $this->emailVerificationLink($user, $subject);
0 commit comments