Completed
Pull Request — dev (#50)
by
unknown
04:13
created
src/AppBundle/Form/FormRequestType.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace AppBundle\Form;
4 4
 
5 5
 use Symfony\Component\Form\AbstractType;
6
-use Symfony\Component\Form\Extension\Core\Type\ButtonType;
7
-use Symfony\Component\Form\Extension\Core\Type\SubmitType;
8 6
 use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
9 7
 use Symfony\Component\Form\FormBuilderInterface;
10 8
 use Symfony\Component\OptionsResolver\OptionsResolver;
Please login to merge, or discard this patch.
src/AppBundle/Controller/FormRequestController.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -93,13 +93,13 @@
 block discarded – undo
93 93
         $formRequest->setStatus($status);
94 94
         $em->flush();
95 95
 
96
-         $this->get('app.email_notification')->sendNotification(
96
+            $this->get('app.email_notification')->sendNotification(
97 97
                 $formRequest->getUser()->getEmail(),
98 98
                 'Form request action',
99 99
                 'Hello, '.$formRequest->getUser()->getFirstName().'.
100 100
                 Your form request was '.$formRequest->getStatus().'.'
101
-         );
101
+            );
102 102
 
103
-         return new Response($status);
103
+            return new Response($status);
104 104
     }
105 105
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
         $status = $request->request->get('status');
77 77
         $id = $request->request->get('id');
78 78
 
79
-        if(!$status || !$id){
79
+        if (!$status || !$id) {
80 80
             return false;
81 81
         }
82 82
 
Please login to merge, or discard this patch.