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 NewLoginDetails extends Mailable
{
use Queueable, SerializesModels;
public $subject, $user, $newpw;
public function __construct(User $user, $newpw=null, $subject=null)
public function __construct(User $user, $newpw = null, $subject = null)
{
$this->subject = $subject ?: 'New Login Details';
$this->newpw = $newpw ?: 'N/A';
@@ -23,7 +22,7 @@ class NewLoginDetails extends Mailable
public function build()
{
return $this->markdown('emails.user.new_login_details')
->subject($this->subject)
->with(['user' => $this->user, 'newpw' => $this->newpw]);
->subject($this->subject)
->with(['user' => $this->user, 'newpw' => $this->newpw]);
}
}