Skip to content

[5.x] Fix Laravel\Horizon\RedisQueue::later() usage on Laravel 12.10 and lower. - #1798

Merged
taylorotwell merged 1 commit into
5.xfrom
5/issue-1797
Jul 24, 2026
Merged

[5.x] Fix Laravel\Horizon\RedisQueue::later() usage on Laravel 12.10 and lower.#1798
taylorotwell merged 1 commit into
5.xfrom
5/issue-1797

Conversation

@crynobone

Copy link
Copy Markdown
Member

fixes #1797

and lower.

fixes #1797

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Comment thread src/RedisQueue.php
public function later($delay, $job, $data = '', $queue = null)
{
$payload = (new JobPayload($this->createPayload($job, $queue, $data, $delay)))->prepare($job)->value;
$args = version_compare(Application::class, '12.11.0', '>=')

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RedisQueue::later passes 4 args to createPayload which Laravel 9–11 reject

2 participants