Completed
Push — master ( 3d9e00...d15c72 )
by Paweł
56:56
created
src/SWP/Bundle/TemplatesSystemBundle/Form/Type/WidgetType.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,24 +39,24 @@
 block discarded – undo
39 39
 
40 40
         $builder->get('visible')
41 41
             ->addModelTransformer(new CallbackTransformer(
42
-                function ($value) {
42
+                function($value) {
43 43
                     return $value;
44 44
                 },
45
-                function ($value) {
45
+                function($value) {
46 46
                     return filter_var($value, FILTER_VALIDATE_BOOLEAN);
47 47
                 }
48 48
             ));
49 49
 
50 50
         $builder->get('parameters')
51 51
             ->addModelTransformer(new CallbackTransformer(
52
-                function ($value) {
52
+                function($value) {
53 53
                     if (is_array($value) && !empty($value)) {
54 54
                         return json_encode($value);
55 55
                     }
56 56
 
57 57
                     return $value;
58 58
                 },
59
-                function ($value) {
59
+                function($value) {
60 60
                     if (is_string($value)) {
61 61
                         return json_decode($value, true);
62 62
                     }
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/EventListener/AddArticleToListListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Superdesk Web Publisher Core Bundle.
Please login to merge, or discard this patch.
src/SWP/Bundle/BridgeBundle/EventListener/ValidationExceptionListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Superdesk Web Publisher Bridge Bundle.
Please login to merge, or discard this patch.
src/SWP/Bundle/BridgeBundle/EventListener/ValidationListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Superdesk Web Publisher Bridge Bundle.
Please login to merge, or discard this patch.
src/SWP/Component/Bridge/Events.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Superdesk Web Publisher Bridge Component.
Please login to merge, or discard this patch.