Created
January 6, 2022 17:29
-
-
Save james2doyle/e18d2363008d907580841e17e2c0dd4b to your computer and use it in GitHub Desktop.
Use fastmod code replacement to update controller typehints to return Responsable interfaces instead of Response classes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fastmod -F '@return \Illuminate\Http\Response' '@return \Illuminate\Contracts\Support\Responsable' app/Http/Controllers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment