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

[12.x] Convert interfaces from docblock to method #54348

Merged
merged 1 commit into from
Jan 26, 2025
Merged
Show file tree
Hide file tree
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
14 changes: 11 additions & 3 deletions src/Illuminate/Contracts/Routing/UrlGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

namespace Illuminate\Contracts\Routing;

/**
* @method string query(string $path, array $query = [], mixed $extra = [], bool|null $secure = null)
*/
interface UrlGenerator
{
/**
Expand Down Expand Up @@ -86,6 +83,17 @@ public function signedRoute($name, $parameters = [], $expiration = null, $absolu
*/
public function temporarySignedRoute($name, $expiration, $parameters = [], $absolute = true);

/**
* Generate an absolute URL with the given query parameters.
*
* @param string $path
* @param array $query
* @param mixed $extra
* @param bool|null $secure
* @return string
*/
public function query($path, $query = [], $extra = [], $secure = null);

/**
* Get the URL to a controller action.
*
Expand Down
11 changes: 8 additions & 3 deletions src/Illuminate/Queue/Failed/FailedJobProviderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

namespace Illuminate\Queue\Failed;

/**
* @method array ids(string $queue = null)
*/
interface FailedJobProviderInterface
{
/**
Expand All @@ -18,6 +15,14 @@ interface FailedJobProviderInterface
*/
public function log($connection, $queue, $payload, $exception);

/**
* Get the IDs of all of the failed jobs.
*
* @param string|null $queue
* @return array
*/
public function ids($queue = null);

/**
* Get a list of all of the failed jobs.
*
Expand Down
Loading