Completed
Push — 0.1 ( 75f716...d81107 )
by Paweł
96:48 queued 48:27
created
src/SWP/Bundle/TemplatesSystemBundle/Form/Type/WidgetType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,14 +37,14 @@
 block discarded – undo
37 37
                 'required' => false,
38 38
             ])
39 39
             ->addModelTransformer(new CallbackTransformer(
40
-                function ($originalDescription) {
40
+                function($originalDescription) {
41 41
                     if ($originalDescription && is_array($originalDescription->getParameters())) {
42 42
                         $originalDescription->setParameters(json_encode($originalDescription->getParameters()));
43 43
                     }
44 44
 
45 45
                     return $originalDescription;
46 46
                 },
47
-                function ($submittedDescription) {
47
+                function($submittedDescription) {
48 48
                     if ($submittedDescription && is_string($submittedDescription->getParameters())) {
49 49
                         $submittedDescription->setParameters(json_decode($submittedDescription->getParameters(), true));
50 50
                     } elseif ($submittedDescription && !is_array($submittedDescription->getParameters())) {
Please login to merge, or discard this patch.
src/SWP/Component/Common/Response/SingleResourceResponse.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 Templates System.
Please login to merge, or discard this patch.
src/SWP/Component/Common/Response/ResourcesListResponseInterface.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 Templates System.
Please login to merge, or discard this patch.
src/SWP/Component/Common/Response/SingleResourceResponseInterface.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 Templates System.
Please login to merge, or discard this patch.
src/SWP/Component/Common/Response/ResponseContextInterface.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 Templates System.
Please login to merge, or discard this patch.
src/SWP/Component/Common/Response/ResponseContext.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 Templates System.
Please login to merge, or discard this patch.
src/SWP/Component/Common/Response/ResourcesListResponse.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 Templates System.
Please login to merge, or discard this patch.
src/SWP/Bundle/MenuBundle/Manager/MenuItemManagerInterface.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 Templates System.
Please login to merge, or discard this patch.
src/SWP/Bundle/MenuBundle/Manager/MenuItemManager.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 Templates System.
Please login to merge, or discard this patch.