| @@ -12,7 +12,6 @@ | ||
| 12 | 12 | |
| 13 | 13 | /** | 
| 14 | 14 | * Class UserType. | 
| 15 | - | |
| 16 | 15 | */ | 
| 17 | 16 | class UserType extends AbstractType | 
| 18 | 17 |  { | 
| @@ -12,7 +12,6 @@ | ||
| 12 | 12 | |
| 13 | 13 | /** | 
| 14 | 14 | * Class SurveyType. | 
| 15 | - | |
| 16 | 15 | */ | 
| 17 | 16 | class SurveyType extends AbstractType | 
| 18 | 17 |  { | 
| @@ -36,7 +36,7 @@ | ||
| 36 | 36 | 'disabled' => true, | 
| 37 | 37 | )) | 
| 38 | 38 | ; | 
| 39 | -        $builder->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event) { | |
| 39 | +        $builder->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event) { | |
| 40 | 40 | $survey = $event->getData(); | 
| 41 | 41 | $form = $event->getForm(); | 
| 42 | 42 |              if ($survey->getUser() === null) { | 
| @@ -74,7 +74,7 @@ | ||
| 74 | 74 | array(), | 
| 75 | 75 | array(), | 
| 76 | 76 |              array('CONTENT_TYPE' => 'application/json', | 
| 77 | - 'HTTP_X-AUTH-TOKEN' => '1', ), | |
| 77 | + 'HTTP_X-AUTH-TOKEN' => '1', ), | |
| 78 | 78 |              $content = '{"3":"yes"}' | 
| 79 | 79 | ); | 
| 80 | 80 | |
| @@ -74,7 +74,7 @@ | ||
| 74 | 74 | array(), | 
| 75 | 75 | array(), | 
| 76 | 76 |              array('CONTENT_TYPE' => 'application/json', | 
| 77 | - 'HTTP_X-AUTH-TOKEN' => '1', ), | |
| 77 | + 'HTTP_X-AUTH-TOKEN' => '1',), | |
| 78 | 78 |              $content = '{"3":"yes"}' | 
| 79 | 79 | ); | 
| 80 | 80 | |