Test Setup Failed
Pull Request — master (#190)
by
unknown
11:38
created
src/midcom/datamanager/storage/parameter.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
      * Converts the selected options according to the multiple_storagemode setting.
88 88
      *
89 89
      * @return mixed The data converted to the final data storage.
90
-    */
90
+     */
91 91
     function convert_multiple_to_storage()
92 92
     {
93 93
         switch ($this->config['type_config']['multiple_storagemode']) {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     {
45 45
         //workaround for weird mgd API behavior where setting falsy (i.e. deleting) a nonexistent parameter
46 46
         //returns an error
47
-        if (   !$this->value
47
+        if (!$this->value
48 48
             && $this->load() === null) {
49 49
             return true;
50 50
         }
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         switch ($this->config['type_config']['multiple_storagemode']) {
64 64
             case 'serialized':
65 65
             case 'array':
66
-                if (   !is_array($source)
66
+                if (!is_array($source)
67 67
                     && empty($source)) {
68 68
                     $source = array();
69 69
                 }
Please login to merge, or discard this patch.