Skip to content

Permit callable arguments to be understood#5

Open
cs278 wants to merge 1 commit intoTobion:masterfrom
cs278:phpstan-types-2
Open

Permit callable arguments to be understood#5
cs278 wants to merge 1 commit intoTobion:masterfrom
cs278:phpstan-types-2

Conversation

@cs278
Copy link
Copy Markdown
Contributor

@cs278 cs278 commented Mar 16, 2026

I forgot to add this into #4.

Upgrading to 1.1 seeing PHPStan errors when decorating a callable which has arguments:

Parameter #1 $operation of method Tobion\Retry\RetryConfigurator::decorate() expects callable(): void, Closure(bool): void given.

This fixes them.

Copy link
Copy Markdown

@sn109946 sn109946 left a comment

Choose a reason for hiding this comment

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

src/RetryConfigurator.php

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