Fix formatting and interfaces in nearly every file
This commit is contained in:
@@ -10,10 +10,9 @@ use Illuminate\Queue\SerializesModels;
|
||||
class UserRejected extends Mailable
|
||||
{
|
||||
use Queueable, SerializesModels;
|
||||
|
||||
public $subject, $user;
|
||||
|
||||
public function __construct(User $user, $subject=null)
|
||||
public function __construct(User $user, $subject = null)
|
||||
{
|
||||
$this->subject = $subject ?: 'Your registration has been denied';
|
||||
$this->user = $user;
|
||||
@@ -21,8 +20,9 @@ class UserRejected extends Mailable
|
||||
|
||||
public function build()
|
||||
{
|
||||
return $this->markdown('emails.user.rejected')
|
||||
->subject($this->subject)
|
||||
->with(['user' => $this->user]);
|
||||
return $this
|
||||
->markdown('emails.user.rejected')
|
||||
->subject($this->subject)
|
||||
->with(['user' => $this->user]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user