Passed
Push — develop ( be6ef3...d18f97 )
by Stone
04:12
created
src/Form/TrickType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     public function buildForm(FormBuilderInterface $builder, array $options)
21 21
     {
22 22
 
23
-        if($options['all_tags_json'] === '' || $options['trick_tags_json'] === ''){
23
+        if ($options['all_tags_json'] === '' || $options['trick_tags_json'] === '') {
24 24
             throw new \UnexpectedValueException("all_tags_json or trick_tags_json not defined in the form constructor");
25 25
         }
26 26
 
Please login to merge, or discard this patch.
src/Serializer/TagSerializer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         $this->tagRepository = $tagRepository;
35 35
     }
36 36
 
37
-    private function serializeTag($tags){
37
+    private function serializeTag($tags) {
38 38
         $serializer = new Serializer([new ObjectNormalizer()]);
39 39
         return json_encode($serializer->normalize($tags, null, ['attributes' => ['name']]));
40 40
     }
Please login to merge, or discard this patch.