Skip to content

Permit callable arguments to be understood#5

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

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

Conversation

@cs278

@cs278 cs278 commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

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.

@sn109946 sn109946 left a comment

Copy link
Copy Markdown

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