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

Callable with callable argument is not properly resolved #9617

Closed
boesing opened this issue Apr 5, 2023 · 2 comments
Closed

Callable with callable argument is not properly resolved #9617

boesing opened this issue Apr 5, 2023 · 2 comments

Comments

@boesing
Copy link
Contributor

boesing commented Apr 5, 2023

https://psalm.dev/r/e8ff8bd53a

@psalm-github-bot
Copy link

I found these snippets:

https://psalm.dev/r/e8ff8bd53a
<?php

/**
 * @param callable(callable(string):mixed):mixed $callable
 */
function takesCallableAcceptingCallable(callable $callable): mixed
{
    return $callable;
}
Psalm output (using commit 82b3a7c):

No issues!

@boesing boesing closed this as completed Apr 5, 2023
@boesing
Copy link
Contributor Author

boesing commented Apr 5, 2023

Hmpf, this is related to #9599

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

No branches or pull requests

1 participant