We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e215840 commit af8a551Copy full SHA for af8a551
1 file changed
src/Reminder.php
@@ -116,6 +116,7 @@ public static function cronSatisfactionReminder($task = null)
116
}
117
118
self::sendReminders();
119
+ return 1;
120
121
122
/**
@@ -241,7 +242,7 @@ public static function sendReminders()
241
242
243
// Order dates
244
usort($potentialReminderToSendDates, function($a, $b) {
- strtotime($a["date"]) - strtotime($b["date"]);
245
+ return strtotime($a["date"]) - strtotime($b["date"]);
246
});
247
$dateNow = date("Y-m-d");
248
0 commit comments