Skip to content

Commit

Permalink
Merge pull request #1638 from solomon-ochepa/patch-12
Browse files Browse the repository at this point in the history
Update mail.stub
  • Loading branch information
dcblogdev authored Oct 22, 2023
2 parents b075f2f + 63b9400 commit 195a133
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Commands/stubs/mail.stub
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ class $CLASS$ extends Mailable

/**
* Create a new message instance.
*
* @return void
*/
public function __construct()
{
Expand All @@ -23,10 +21,8 @@ class $CLASS$ extends Mailable

/**
* Build the message.
*
* @return $this
*/
public function build()
public function build(): self
{
return $this->view('view.name');
}
Expand Down

0 comments on commit 195a133

Please sign in to comment.