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

[11.x] Adds BackedEnum to PendingDispatch's phpDoc for onQueue, allOnQueue, onConnection, allOnConnection methods #52739

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/Illuminate/Foundation/Bus/PendingDispatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function __construct($job)
/**
* Set the desired connection for the job.
*
* @param string|null $connection
* @param \BackedEnum|string|null $connection
* @return $this
*/
public function onConnection($connection)
Expand All @@ -51,7 +51,7 @@ public function onConnection($connection)
/**
* Set the desired queue for the job.
*
* @param string|null $queue
* @param \BackedEnum|string|null $queue
* @return $this
*/
public function onQueue($queue)
Expand All @@ -64,7 +64,7 @@ public function onQueue($queue)
/**
* Set the desired connection for the chain.
*
* @param string|null $connection
* @param \BackedEnum|string|null $connection
* @return $this
*/
public function allOnConnection($connection)
Expand All @@ -77,7 +77,7 @@ public function allOnConnection($connection)
/**
* Set the desired queue for the chain.
*
* @param string|null $queue
* @param \BackedEnum|string|null $queue
* @return $this
*/
public function allOnQueue($queue)
Expand Down