File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -64,9 +64,7 @@ protected function validateRequest(Request $request)
64
64
'email ' => 'required|email '
65
65
]);
66
66
67
- if ($ validator ->fails ()) {
68
- return false ;
69
- }
67
+ return $ validator ->passes ();
70
68
}
71
69
72
70
/**
@@ -76,7 +74,9 @@ protected function validateRequest(Request $request)
76
74
*/
77
75
protected function verificationErrorView ()
78
76
{
79
- return property_exists ($ this , 'verificationErrorView ' ) ? $ this ->verificationErrorView : 'laravel-user-verification::user-verification ' ;
77
+ return property_exists ($ this , 'verificationErrorView ' )
78
+ ? $ this ->verificationErrorView
79
+ : 'laravel-user-verification::user-verification ' ;
80
80
}
81
81
82
82
/**
@@ -86,7 +86,9 @@ protected function verificationErrorView()
86
86
*/
87
87
protected function verificationEmailView ()
88
88
{
89
- return property_exists ($ this , 'verificationEmailView ' ) ? $ this ->verificationEmailView : 'emails.user-verification ' ;
89
+ return property_exists ($ this , 'verificationEmailView ' )
90
+ ? $ this ->verificationEmailView
91
+ : 'emails.user-verification ' ;
90
92
}
91
93
92
94
/**
You can’t perform that action at this time.
0 commit comments