Skip to content

Apply FunctionParameterClosureTypeExtension override to the in-function-call stack so the closure's inferred return type matches its analysed body#5991

Open
phpstan-bot wants to merge 2 commits into
phpstan:2.2.xfrom
phpstan-bot:create-pull-request/patch-8bzmbs4
Open

Apply FunctionParameterClosureTypeExtension override to the in-function-call stack so the closure's inferred return type matches its analysed body#5991
phpstan-bot wants to merge 2 commits into
phpstan:2.2.xfrom
phpstan-bot:create-pull-request/patch-8bzmbs4

Cover the preg_replace_callback arrow-function reproducer in ArrowFun…

b93cd6c
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
PHPStan with result cache (8.5)
succeeded Jul 4, 2026 in 3m 37s