Skip to content

Conversation

@TomasVotruba
Copy link
Member

No description provided.

@TomasVotruba TomasVotruba force-pushed the tv-split-param-inferer-2 branch 3 times, most recently from 1a0109c to e0c1ff7 Compare November 27, 2022 22:15
@TomasVotruba TomasVotruba force-pushed the tv-split-param-inferer-2 branch 3 times, most recently from 6190940 to 47fd42f Compare November 27, 2022 22:50
@TomasVotruba TomasVotruba force-pushed the tv-split-param-inferer-2 branch from 47fd42f to 9115798 Compare November 27, 2022 22:52
@TomasVotruba TomasVotruba merged commit 0d8c296 into main Nov 27, 2022
@TomasVotruba TomasVotruba deleted the tv-split-param-inferer-2 branch November 27, 2022 22:58
&$propertyStaticTypes
): ?int {
if ($node instanceof Class_ || $node instanceof Function_) {
// skip anonymous class and closures
Copy link
Member

Choose a reason for hiding this comment

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

invalid comment, closure is not Function_, as property fetch can live inside closure

Copy link
Member Author

Choose a reason for hiding this comment

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

I see. How would you phrase it?

Copy link
Member

Choose a reason for hiding this comment

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

Skip anonymous classes and inner function

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.

4 participants