When I type
class MyController extends Controller
and I forget to choose the class from code completion, and then PhpStorm show me "Undefined class Response"; there is no way to add it, after I have written, using right click on the word "Controller" to get this line inserted automatically?
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
Why I need delete "Controller", type again and select from the list of classes?
Why I need delete "Controller", type again and select from the list of classes?
It's a wrong place to ask for explanation for your own actions.
In any case:
Import class