Skip to content

Conversation

fancyweb
Copy link
Contributor

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets #35066
License MIT
Doc PR -

@nicolas-grekas
Copy link
Member

nicolas-grekas commented Dec 26, 2019

I'd suggest opening a bug report on https://bugs.php.net
method_exists('Closure', '__invoke') should return true to me, since we can call the method
https://3v4l.org/NEK2T

@nicolas-grekas
Copy link
Member

Thank you @fancyweb.

nicolas-grekas added a commit that referenced this pull request Dec 26, 2019
…losure for callable (fancyweb)

This PR was merged into the 4.4 branch.

Discussion
----------

[DependencyInjection][CheckTypeDeclarationsPass] Handle \Closure for callable

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | #35066
| License       | MIT
| Doc PR        | -

Commits
-------

d6a7fbf [DependencyInjection][CheckTypeDeclarationsPass] Handle \Closure for callable
@nicolas-grekas nicolas-grekas merged commit d6a7fbf into symfony:4.4 Dec 26, 2019
@fancyweb fancyweb deleted the di-container-lint-callable-closure branch December 26, 2019 08:59
This was referenced Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants