Skip to content

Conversation

@VincentLanglet
Copy link
Contributor

No description provided.

*
* @link https://php.net/manual/en/reflectionmethod.construct.php
* @param string|object $objectOrMethod Classname, object
* @param class-string|object $objectOrMethod Classname, object

This comment was marked as resolved.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, let's just simplify and still allow string|object.

It's doesn't change the fact that $class property will be a class-string

@isfedorov isfedorov merged commit b0e2977 into JetBrains:master Oct 16, 2025
12 of 13 checks passed
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.

3 participants