File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
55
66* New aggregation pipeline builder by @GromNaN in [ #2738 ] ( https://github.com/mongodb/laravel-mongodb/pull/2738 )
77* Drop support for Composer 1.x by @GromNaN in [ #2784 ] ( https://github.com/mongodb/laravel-mongodb/pull/2784 )
8+ * Fix ` artisan query:retry ` command by @GromNaN in [ #2838 ] ( https://github.com/mongodb/laravel-mongodb/pull/2838 )
89
910## [ 4.2.0] - 2024-03-14
1011
Original file line number Diff line number Diff line change 88use DateTimeInterface ;
99use Exception ;
1010use Illuminate \Queue \Failed \DatabaseFailedJobProvider ;
11+ use MongoDB \BSON \ObjectId ;
1112use MongoDB \BSON \UTCDateTime ;
1213
1314use function array_map ;
@@ -86,11 +87,11 @@ public function forget($id)
8687 }
8788
8889 /**
89- * Get the IDs of all of the failed jobs.
90+ * Get the IDs of all the failed jobs.
9091 *
9192 * @param string|null $queue
9293 *
93- * @return list<mixed >
94+ * @return list<ObjectId >
9495 */
9596 public function ids ($ queue = null )
9697 {
@@ -102,7 +103,7 @@ public function ids($queue = null)
102103 }
103104
104105 /**
105- * Prune all entries older than the given date.
106+ * Prune all failed jobs older than the given date.
106107 *
107108 * @param DateTimeInterface $before
108109 *
You can’t perform that action at this time.
0 commit comments