Skip to content

Commit 61368ef

Browse files
committed
Update phpdoc
1 parent 9fbe1ef commit 61368ef

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff 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

src/Queue/Failed/MongoFailedJobProvider.php

+4-3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use DateTimeInterface;
99
use Exception;
1010
use Illuminate\Queue\Failed\DatabaseFailedJobProvider;
11+
use MongoDB\BSON\ObjectId;
1112
use MongoDB\BSON\UTCDateTime;
1213

1314
use 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
*

0 commit comments

Comments
 (0)