Skip to content

Commit f96e31d

Browse files
authored
Changed functions to protected
- Edited `newEmail` in `MustVerifyNewEmail` to protected function - Edited `sendEmailVerificationMail` in `MustVerifyNewEmail` to protected function
1 parent f9d84b7 commit f96e31d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stubs/app/Traits/Auth/MustVerifyNewEmail.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function syncEmail(string $email)
2727
*
2828
* @param string $email
2929
*/
30-
public function newEmail(string $email)
30+
protected function newEmail(string $email)
3131
{
3232
if ($this->hasVerifiedEmail() && $this->email === $email) {
3333
return null;
@@ -79,7 +79,7 @@ public function clearPendingEmail()
7979
*
8080
* @return void
8181
*/
82-
public function sendEmailVerificationMail()
82+
protected function sendEmailVerificationMail()
8383
{
8484
return Mail::to($this->getPendingEmail())
8585
->send(new VerifyEmail(

0 commit comments

Comments
 (0)