Add type hints from DocBlocks
This commit is contained in:
@@ -56,7 +56,7 @@ class Contact extends Mailable
|
||||
*
|
||||
* @return \Illuminate\Mail\Mailables\Envelope
|
||||
*/
|
||||
public function envelope()
|
||||
public function envelope(): Envelope
|
||||
{
|
||||
return new Envelope(
|
||||
subject: config('contact.contact_subject'),
|
||||
@@ -68,7 +68,7 @@ class Contact extends Mailable
|
||||
*
|
||||
* @return \Illuminate\Mail\Mailables\Content
|
||||
*/
|
||||
public function content()
|
||||
public function content(): Content
|
||||
{
|
||||
return new Content(
|
||||
view: 'emails.user.contact',
|
||||
|
||||
Reference in New Issue
Block a user