Problems with route and request in middleware

in my middleware
with determineRouteBeforeAppMiddleware set to true

give me an array(2)
where [“route”] is \Slim\Route

output : Slim\Http\Request where I expect to be \Psr\Http\Message\ServerRequestInterface

anyway the code is working fine

I’m not sure if there’s a problem or not… but Slim\Http\Request implements the Psr\Http\Message\ServerRequestInterface interface, so it’s working as expected.

thanks that’s right I was really distract it is an implementaion not the class

still the problem about the route it shouldn’t be an array