Skip to content

Conversation

@jackbayliss
Copy link
Contributor

@jackbayliss jackbayliss commented Dec 15, 2025

I was poking about thinking about a new Failover class for something👀 but noticed these.

Just for clarity, tooling, and static analysis / aligns with everywhere else.

@jackbayliss jackbayliss changed the title [12.x] Add missing param in FailedOver event docblocks [12.x] Add missing docblock param in FailedOver event docblocks Dec 15, 2025
@github-actions
Copy link

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

Comment on lines 13 to 18
* @param \Closure|string|object $command The job instance.
* @param Throwable $exception The exception that was thrown.
*/
public function __construct(
public ?string $connectionName,
public mixed $command,
Copy link
Contributor Author

@jackbayliss jackbayliss Dec 15, 2025

Choose a reason for hiding this comment

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

The docblock was set to $job rather than $command (what it is currently), but feels like it really should be $job - dunno if its a BC, so up to you on that 🫡 - I can adjust if you prefer.

@jackbayliss jackbayliss marked this pull request as ready for review December 15, 2025 10:08
@taylorotwell taylorotwell reopened this Dec 15, 2025
@taylorotwell taylorotwell merged commit b63ee45 into laravel:12.x Dec 15, 2025
141 checks passed
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.

2 participants