Add type hints from DocBlocks
This commit is contained in:
@@ -48,7 +48,7 @@ class EmailVerify extends Mailable
|
||||
*
|
||||
* @return \Illuminate\Mail\Mailables\Envelope
|
||||
*/
|
||||
public function envelope()
|
||||
public function envelope(): Envelope
|
||||
{
|
||||
return new Envelope(
|
||||
subject: '👋🏻 Welcome to STEMMechanics!',
|
||||
@@ -60,7 +60,7 @@ class EmailVerify extends Mailable
|
||||
*
|
||||
* @return \Illuminate\Mail\Mailables\Content
|
||||
*/
|
||||
public function content()
|
||||
public function content(): Content
|
||||
{
|
||||
return new Content(
|
||||
view: 'emails.user.email_verify',
|
||||
|
||||
Reference in New Issue
Block a user