You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -133,7 +133,7 @@ public function waitAndExecute($queueName, $timeout = null)
133
133
* @throws JobQueueException
134
134
* @internal This method has to be public so that it can be run from the command handler (when "executeIsolated" is set). It is not meant to be called from "user land"
thrownew \BadMethodCallException('The FakeQueue does not support reserving of messages.' . chr(10) . 'It is not required to use a worker for this queue as messages are handled immediately upon submission.', 1468425275);
thrownew \BadMethodCallException('The FakeQueue does not support reserving of messages.' . chr(10) . 'It is not required to use a worker for this queue as messages are handled immediately upon submission.', 1468425280);
thrownew \BadMethodCallException('The FakeQueue does not support releasing of failed messages.' . chr(10) . 'The "maximumNumberOfReleases" setting should be removed or set to 0 for this queue!', 1468425285);
120
120
}
121
121
122
122
/**
123
123
* @inheritdoc
124
124
*/
125
-
publicfunctionabort($messageId)
125
+
publicfunctionabort(string$messageId): void
126
126
{
127
127
// The FakeQueue does not support message abortion
128
128
}
129
129
130
130
/**
131
131
* @inheritdoc
132
132
*/
133
-
publicfunctionfinish($messageId)
133
+
publicfunctionfinish(string$messageId): bool
134
134
{
135
135
// The FakeQueue does not support message finishing
136
+
returnfalse;
136
137
}
137
138
138
139
/**
139
140
* @inheritdoc
140
141
*/
141
-
publicfunctionpeek($limit = 1)
142
+
publicfunctionpeek(int$limit = 1): array
142
143
{
143
144
return [];
144
145
}
@@ -170,7 +171,7 @@ public function countFailed(): int
170
171
/**
171
172
* @inheritdoc
172
173
*/
173
-
publicfunctionflush()
174
+
publicfunctionflush(): void
174
175
{
175
176
// The FakeQueue does not support message flushing
0 commit comments