Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Narrow Closure::bind $newScope param #1591

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

mvorisek
Copy link
Contributor

@mvorisek mvorisek commented Nov 28, 2023

https://www.php.net/manual/en/closure.bind.php

should prevent passing unknown classes together with static analysers

Core/Core_c.php Outdated Show resolved Hide resolved
Core/Core_c.php Outdated Show resolved Hide resolved
@isfedorov
Copy link
Contributor

@mvorisek Thank you for the PR! Generally the change completely makes sense except a couple of notes I've added inline

@mvorisek mvorisek force-pushed the narrow_closure_bind_param branch from 04189e9 to 8b2a6a2 Compare December 1, 2023 01:17
@mvorisek mvorisek requested a review from isfedorov December 1, 2023 01:17
@isfedorov isfedorov merged commit f740b49 into JetBrains:master Dec 1, 2023
11 checks passed
@mvorisek mvorisek deleted the narrow_closure_bind_param branch December 1, 2023 10:17
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