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

Add ReflectionHelperGetPrivateMethodInvokerReturnTypeExtension #35

Merged
merged 4 commits into from
Mar 15, 2025

Conversation

paulbalandan
Copy link
Collaborator

See type-inference.md for the description of this extension.

Once this is merged, I intend to move all descriptions of type inferences and rules currently in the README to their dedicated spaces so we can elaborate more on the discussion. For now, I have started it with this one.

For reviewing this, I suggest to check the reflection-helper.php data file for the various use cases I could think of where this extension might be useful.

@neznaika0
Copy link

I don't understand it a bit, but will it return all possible types? Foo::method($a, $a, $c, ... $d) ?

@paulbalandan
Copy link
Collaborator Author

I don't understand it a bit, but will it return all possible types? Foo::method($a, $a, $c, ... $d) ?

Yes, see 2nd commit

@neznaika0
Copy link

I like. We'll check it later on the framework)

@paulbalandan paulbalandan merged commit b01e592 into 1.x Mar 15, 2025
9 checks passed
@paulbalandan paulbalandan deleted the reflection-helper branch March 15, 2025 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature addition
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants