Fix formatting and interfaces in nearly every file

This commit is contained in:
Nabeel Shahzad
2018-03-19 20:50:40 -05:00
parent 04c5b9e7bf
commit ccf56ddec1
331 changed files with 3282 additions and 2492 deletions

View File

@@ -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]);
}
}