Completed
Push — master ( a3beff...20252d )
by Paweł
50:50
created
src/SWP/Bundle/TemplatesSystemBundle/DependencyInjection/Configuration.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 Content Bundle.
Please login to merge, or discard this patch.
DependencyInjection/Compiler/RegisterContainerFactoryPass.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 Content Bundle.
Please login to merge, or discard this patch.
DependencyInjection/Compiler/RegisterContainerDataFactory.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 Content Bundle.
Please login to merge, or discard this patch.
src/SWP/Bundle/TemplatesSystemBundle/Form/Type/WidgetType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,14 +35,14 @@
 block discarded – undo
35 35
                 'required' => false,
36 36
             ])
37 37
             ->addModelTransformer(new CallbackTransformer(
38
-                function ($originalDescription) {
38
+                function($originalDescription) {
39 39
                     if ($originalDescription && is_array($originalDescription->getParameters())) {
40 40
                         $originalDescription->setParameters(json_encode($originalDescription->getParameters()));
41 41
                     }
42 42
 
43 43
                     return $originalDescription;
44 44
                 },
45
-                function ($submittedDescription) {
45
+                function($submittedDescription) {
46 46
                     if ($submittedDescription && is_string($submittedDescription->getParameters())) {
47 47
                         $submittedDescription->setParameters(json_decode($submittedDescription->getParameters(), true));
48 48
                     } elseif ($submittedDescription && !is_array($submittedDescription->getParameters())) {
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentListBundle/Doctrine/ORM/ContentListRepository.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 Content Bundle.
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentListBundle/DependencyInjection/Configuration.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 Content Bundle.
Please login to merge, or discard this patch.
Bundle/ContentListBundle/DependencyInjection/SWPContentListExtension.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 Content Bundle.
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentListBundle/Form/Type/ContentListTypeSelectorType.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 Content Bundle.
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentListBundle/Form/Type/ContentListType.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 Content Bundle.
Please login to merge, or discard this patch.