Solution:
If you only created it and found that you did it wrong, you can manually remove the file and that’s it. However when you already added routes to this controller in routes.php
you should remove them from routes.php
file or alter the file to reflect your new controller.