If you've prefixed your routes with something like /{lang} or /{tenant}, you can run into a situation where controllers in that group have to declare the parameter, even when they don't use it.
In today's video, I show a one-line fix in the middleware that lets you keep the controller signatures clean.
And after watching, don't forget to subscribe to our YouTube channel, so you don't miss future videos.
Here to help,
Joel
P.S. A fresh set of eyes finds little wins like this. Get a Laravel code review.