Skip to content

Commit 400833f

Browse files
committed
reversed order of the acceptance and note paramter
1 parent a7e6b8e commit 400833f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/Listeners/CheckoutableListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ private function getCheckoutMailType($event, $acceptance){
282282
];
283283
$mailable= $lookup[get_class($event->checkoutable)];
284284

285-
return new $mailable($event->checkoutable, $event->checkedOutTo, $event->checkedOutBy, $event->note, $acceptance);
285+
return new $mailable($event->checkoutable, $event->checkedOutTo, $event->checkedOutBy, $acceptance, $event->note);
286286

287287
}
288288
private function getCheckinMailType($event){

app/Mail/CheckoutLicenseMail.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ public function __construct(LicenseSeat $licenseSeat, $checkedOutTo, User $check
2727
$this->note = $note;
2828
$this->target = $checkedOutTo;
2929
$this->acceptance = $acceptance;
30-
3130
$this->settings = Setting::getSettings();
3231
}
3332

0 commit comments

Comments
 (0)