thephpleague / route

Fast PSR-7 based routing and dispatch component including PSR-15 middleware, built on top of FastRoute.
http://route.thephpleague.com
MIT License
651 stars 126 forks source link

ContainerAwareInterface update #277

Closed Wennlys closed 4 years ago

Wennlys commented 4 years ago

I was using league/route with league/container and I've notice a problem with interfaces when setting a container to the the strategy variable. Something like this -> image

After opening a github issue I felt free to create a fork and make this simple PR to change that line which was bugging the implementation of the libs. I don't know if it's the best solution but worked for me.

Peace.