@@ -87,7 +87,7 @@ |
||
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']) { |
@@ -44,7 +44,7 @@ discard block |
||
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 |
||
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 | } |