Completed
Pull Request — master (#76)
by Matt
03:51
created
src/FormManipulationTrait.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
       $value = $this->boolToString($value);
36 36
     }
37 37
     else {
38
-      $value = (string) $value;
38
+      $value = (string)$value;
39 39
     }
40 40
 
41 41
     $javascript = $this->javascriptTemplateRender("set_value.js.twig", array("xpath" => $xpath, "value" => json_encode($value)));
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,7 @@
 block discarded – undo
33 33
     //This stuff is BECAUSE the way the driver works for setting values when being checkboxes, radios, etc.
34 34
     if (is_bool($value)) {
35 35
       $value = $this->boolToString($value);
36
-    }
37
-    else {
36
+    } else {
38 37
       $value = (string) $value;
39 38
     }
40 39
 
Please login to merge, or discard this patch.