We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aab7d5d commit 4674acaCopy full SHA for 4674aca
src/Job/AsyncAwsSqsJob.php
@@ -83,7 +83,7 @@ public function delete()
83
*/
84
public function attempts()
85
{
86
- return (int) $this->job->getAttributes()['ApproximateReceiveCount'];
+ return (int) ($this->job->getAttributes()['ApproximateReceiveCount'] ?? 0);
87
}
88
89
/**
0 commit comments