- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
I think the solution here is that there is no interface for ResourceResponseInterface to extend from
But the type hint in ResponseEvent::getResponse ensures that it is an instance of Response, which is where the other methods come from.
I don't think we need to do anything here, the return type hint on
\Symfony\Component\HttpKernel\Event\ResponseEvent::getResponse
is enoughThoughts @joachim - I think this can be closed works as designed now there's a stronger return type-hint on that method than was probably there when this was filed.
- Status changed to Closed: works as designed
8 months ago 4:27am 4 October 2024