Skip to content

feat: add @phpstan-closure-scope tag - #6402

Open
calebdw wants to merge 1 commit into
phpstan:2.2.xfrom
calebdw:calebdw/push-yyopvtotqrkl
Open

feat: add @phpstan-closure-scope tag#6402
calebdw wants to merge 1 commit into
phpstan:2.2.xfrom
calebdw:calebdw/push-yyopvtotqrkl

Conversation

@calebdw

@calebdw calebdw commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Hello!

This adds a new @phpstan-closure-scope tag to properly support both arguments to Closure::bindTo

Note, this depends on phpstan/phpdoc-parser#319

Closes phpstan/phpstan#15197

cc: @dantleech, @staabm

@calebdw
calebdw force-pushed the calebdw/push-yyopvtotqrkl branch 2 times, most recently from 2b4916a to 728fbb8 Compare September 9, 2026 15:16
@calebdw
calebdw force-pushed the calebdw/push-yyopvtotqrkl branch from 728fbb8 to 7a57c87 Compare September 9, 2026 16:59
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.

1 participant