Skip to content

Conversation

@kaznovac
Copy link
Contributor

@kaznovac kaznovac commented Dec 1, 2022

example resolver was not conforming to ValueResolverInterface, see:
https://github.com/symfony/symfony/blob/40731aa9b6508bb803d1ce02db88ca5f0badb050/src/Symfony/Component/HttpKernel/Controller/ValueResolverInterface.php#L27

services configuration pointed to previously derived resolver example

@carsonbot carsonbot added this to the 6.2 milestone Dec 1, 2022
@javiereguiluz
Copy link
Member

The array return type is on purpose. See #17362 (comment)

@kaznovac kaznovac changed the title ValueResolver: fix resolve method return type, fix resolver injection example ValueResolver: fix resolver injection example Dec 2, 2022
@kaznovac
Copy link
Contributor Author

kaznovac commented Dec 2, 2022

@javiereguiluz thanks for the reference (I wasn't aware type change was intentional)

I've reverted it and updated the PR, can you please recheck?

@javiereguiluz
Copy link
Member

Thanks Marko! We've just merged your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants