Skip to content

Added regression test#2496

Closed
staabm wants to merge 1 commit intophpstan:1.10.xfrom
staabm:bug4608
Closed

Added regression test#2496
staabm wants to merge 1 commit intophpstan:1.10.xfrom
staabm:bug4608

Conversation

@staabm
Copy link
Copy Markdown
Contributor

@staabm staabm commented Jun 29, 2023

phpstanbot told us this issue is fixed: phpstan/phpstan#4608 (comment)
just locally confirmed that this no longer errors with

Parameter #1 $callback of function call_user_func expects callable(): mixed, array(class@anonymous/tmp.php:3, 'abc'|'not_abc') given.

refs phpstan/phpstan#4608

@staabm staabm marked this pull request as draft June 29, 2023 06:41
@staabm
Copy link
Copy Markdown
Contributor Author

staabm commented Jun 29, 2023

hmm ok.. I think the expected situation is to get 3 errors, instead of none

@staabm staabm closed this Jun 29, 2023
@staabm staabm deleted the bug4608 branch January 3, 2025 09:36
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.

1 participant