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)
6464 'email ' => 'required|email '
6565 ]);
6666
67- if ($ validator ->fails ()) {
68- return false ;
69- }
67+ return $ validator ->passes ();
7068 }
7169
7270 /**
@@ -76,7 +74,9 @@ protected function validateRequest(Request $request)
7674 */
7775 protected function verificationErrorView ()
7876 {
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 ' ;
8080 }
8181
8282 /**
@@ -86,7 +86,9 @@ protected function verificationErrorView()
8686 */
8787 protected function verificationEmailView ()
8888 {
89- return property_exists ($ this , 'verificationEmailView ' ) ? $ this ->verificationEmailView : 'emails.user-verification ' ;
89+ return property_exists ($ this , 'verificationEmailView ' )
90+ ? $ this ->verificationEmailView
91+ : 'emails.user-verification ' ;
9092 }
9193
9294 /**
You can’t perform that action at this time.
0 commit comments