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

Passing arguments to stdClass constructor should yield TooManyArguments #10018

Closed
fluffycondor opened this issue Jul 14, 2023 · 1 comment · Fixed by #10661
Closed

Passing arguments to stdClass constructor should yield TooManyArguments #10018

fluffycondor opened this issue Jul 14, 2023 · 1 comment · Fixed by #10661

Comments

@fluffycondor
Copy link
Contributor

https://psalm.dev/r/682f959a60

Expected: TooManyArguments
Got: no issues.

@psalm-github-bot
Copy link

I found these snippets:

https://psalm.dev/r/682f959a60
<?php

new \stdClass(['foo' => 'bar']);
Psalm output (using commit 564c6de):

No issues!

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 a pull request may close this issue.

1 participant