From 571088eb8a188822a675ebe474b6c5e827def754 Mon Sep 17 00:00:00 2001 From: Aydin Date: Thu, 19 Feb 2015 13:40:42 +0000 Subject: [PATCH] Fix constructor order --- src/JhFlexiTime/Service/MissingBookingReminderService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/JhFlexiTime/Service/MissingBookingReminderService.php b/src/JhFlexiTime/Service/MissingBookingReminderService.php index f80890b..880acfe 100644 --- a/src/JhFlexiTime/Service/MissingBookingReminderService.php +++ b/src/JhFlexiTime/Service/MissingBookingReminderService.php @@ -74,7 +74,7 @@ public function findAndNotifyMissingBookings() $missingBookings = $this->findMissingBookingsForUser($user, $period); if (count($missingBookings) > 0) { - $notification = new MissingBookingsNotification($missingBookings, $period); + $notification = new MissingBookingsNotification($period, $missingBookings); $this->notificationService->notify($notification, $user); } }