Skip to content

Commit de1e1e5

Browse files
committed
minor symfony#12995 Updated imports in TaskController when using TaskType (phpfour)
This PR was submitted for the 4.4 branch but it was merged into the 4.3 branch instead (closes symfony#12995). Discussion ---------- Updated imports in TaskController when using TaskType Removed unused imports and added a required import. Commits ------- 2e6ac11 Updated imports in TaskController when using TaskType
2 parents c258046 + 2e6ac11 commit de1e1e5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

forms.rst

+1-3
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,8 @@ to build another object with the visual representation of the form::
262262
namespace App\Controller;
263263

264264
use App\Entity\Task;
265+
use App\Form\Type\TaskType;
265266
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
266-
use Symfony\Component\Form\Extension\Core\Type\DateType;
267-
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
268-
use Symfony\Component\Form\Extension\Core\Type\TextType;
269267
use Symfony\Component\HttpFoundation\Request;
270268

271269
class TaskController extends AbstractController

0 commit comments

Comments
 (0)