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

Lines changed: 1 addition & 3 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy