I like static analysis tools like PHPStan, and I even use strict types, but there's one place in our applications where we avoid using return types: controller actions. In this video, I explain why.
masteringlaravel.io/daily/2025-11-21-video-why-we-dont-use-return-types-on-controller-actions
Back