Completed
Push — master ( 7af792...02ca7a )
by Rafał
05:00
created
src/SWP/Bundle/MultiTenancyBundle/Command/CreateTenantCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
             $argument = $this->getHelper('dialog')->askAndValidate(
112 112
                 $output,
113 113
                 '<question>Please enter '.$name.':</question>',
114
-                function ($argument) use ($name) {
114
+                function($argument) use ($name) {
115 115
                     if (empty($argument)) {
116 116
                         throw new \RuntimeException('The '.$name.' can not be empty');
117 117
                     }
Please login to merge, or discard this patch.
src/SWP/Bundle/TemplateEngineBundle/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.