Skip to content

Fix Redis pipeline facade annotation - #61173

Merged
taylorotwell merged 1 commit into
laravel:13.xfrom
MNazikk:fix-redis-pipeline-docblock
Aug 13, 2026
Merged

Fix Redis pipeline facade annotation#61173
taylorotwell merged 1 commit into
laravel:13.xfrom
MNazikk:fix-redis-pipeline-docblock

Conversation

@MNazikk

@MNazikk MNazikk commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Context

The Redis facade currently declares:

@method static \Redis|bool pipeline()

However, Laravel's pipeline method accepts an optional callback, as documented and implemented by the Redis connection:

Redis::pipeline(function ($pipe) {
    // ...
});

The current annotation causes IDEs and static analysis tools to report valid callback usage as an invalid method call.

Changes

  • Update the Redis facade pipeline annotation to match the actual method signature.

No runtime behavior is changed. This only improves IDE support and aligns the facade annotation with Laravel's documented API.

@taylorotwell
taylorotwell merged commit b91ae6a into laravel:13.x Aug 13, 2026
3 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