Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[spiral/scaffolder] Change JobHandler payload type to mixed #943

Closed
butschster opened this issue May 18, 2023 · 0 comments · Fixed by #992
Closed

[spiral/scaffolder] Change JobHandler payload type to mixed #943

butschster opened this issue May 18, 2023 · 0 comments · Fixed by #992
Assignees
Labels
Milestone

Comments

@butschster
Copy link
Member

butschster commented May 18, 2023

Here is an example of generated job handler.

final class PingJob extends JobHandler
{
    public function invoke(string $id, array $payload, array $headers): void
    {
    }
}

It has array $payload, but in some cases it can be any type string|object|array|....

@butschster butschster added the Bug label May 18, 2023
@butschster butschster assigned butschster and unassigned butschster May 18, 2023
@butschster butschster added this to the 3.8 milestone May 18, 2023
@butschster butschster modified the milestones: 3.8, 3.9 Aug 15, 2023
@msmakouz msmakouz moved this from Todo to In Progress in Spiral framework Sep 13, 2023
@msmakouz msmakouz moved this from In Progress to In review in Spiral framework Sep 13, 2023
@github-project-automation github-project-automation bot moved this from In review to Done in Spiral framework Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants