我有以下类头,这是源控件中合并的结果。在PhpStorm中,当我使用代码>优化导入时,导入并未真正优化...有重复的导入语句对我来说似乎很愚蠢(请参阅下面的第二个代码块)。为什么PhpStorm无法清理它?我错过了一个选项或功能吗?
之前" 优化导入" ...
<?php
namespace App\Http\Controllers;
use App\Tool\Models;
use App\Tool\Models\UserId;
use App\Http\Requests;
use App\Repository\IUserRepository;
use Input;
use App\Http\Requests;
use App\Eloquent\User;
use App\Repository\IUserRepository;
use Auth;
use Input;
use Illuminate\View\View;
use Log;
class UserController extends Controller
优化导入&#34; ...
之后
namespace App\Http\Controllers;
use App\Http\Requests;
use App\Http\Requests;
use App\Repository\IUserRepository;
use App\Repository\IUserRepository;
use Input;
use Input;
use Log;
class UserController extends Controller