Completed
Pull Request — dev (#24)
by
unknown
11:35
created
src/AppBundle/Form/SurveyType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
                 'choice_label' => 'firstName',
31 31
             ))
32 32
         ;
33
-        $builder->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event) {
33
+        $builder->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event) {
34 34
             $survey = $event->getData();
35 35
             $form = $event->getForm();
36 36
             if ($survey->getUser() !== null) {
Please login to merge, or discard this patch.
tests/AppBundle/Controller/Api/SurveyControllerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
             array(),
73 73
             array(),
74 74
             array('CONTENT_TYPE' => 'application/json',
75
-                  'HTTP_X-AUTH-TOKEN' => '2', ),
75
+                  'HTTP_X-AUTH-TOKEN' => '2',),
76 76
             $content = '{"1":"yes","2":"yes","3":"yes","4":"5","5":"7"}'
77 77
         );
78 78
 
Please login to merge, or discard this patch.