Skip to content

Add SimpleXmlElementXpathMethodReturnTypeExtension#428

Merged
ondrejmirtes merged 1 commit intophpstan:masterfrom
VincentLanglet:xpath
Jan 24, 2021
Merged

Add SimpleXmlElementXpathMethodReturnTypeExtension#428
ondrejmirtes merged 1 commit intophpstan:masterfrom
VincentLanglet:xpath

Conversation

@VincentLanglet
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What about @ here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It seems to work, but some randoms tests are failing...

@VincentLanglet VincentLanglet marked this pull request as ready for review January 20, 2021 09:31
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The 2nd argument shouldn't be new StaticType, but $scope->getType($methodCall->var) instead.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done ! :)

@VincentLanglet VincentLanglet force-pushed the xpath branch 2 times, most recently from 4c4259b to 51b9767 Compare January 24, 2021 13:42
@ondrejmirtes
Copy link
Copy Markdown
Member

Thank you!

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