Skip to content

feat: improve Map::get() @throws inference#2297

Merged
ondrejmirtes merged 1 commit intophpstan:1.10.xfrom
simPod:throw
Mar 21, 2023
Merged

feat: improve Map::get() @throws inference#2297
ondrejmirtes merged 1 commit intophpstan:1.10.xfrom
simPod:throw

Conversation

@simPod
Copy link
Copy Markdown
Contributor

@simPod simPod commented Mar 21, 2023

Opening based on phpstan/phpstan#9066, hope it's correct place where to put the extension

Copy link
Copy Markdown
Member

@ondrejmirtes ondrejmirtes left a comment

Choose a reason for hiding this comment

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

Please provide a test that fails without the extension (and also test the code that is supposed to throw the exception).

@ondrejmirtes ondrejmirtes merged commit 1ca8d1f into phpstan:1.10.x Mar 21, 2023
@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