@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | public function presentFront() |
| 123 | 123 | { |
| 124 | 124 | $options = unserialize($this->fieldOptions); |
| 125 | - if(isset($options['transform'])){ |
|
| 125 | + if (isset($options['transform'])) { |
|
| 126 | 126 | return $this->transformText($options['transform']); |
| 127 | 127 | } |
| 128 | 128 | return strtoupper($this->value); |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | */ |
| 135 | 135 | protected function transformText($transformation) |
| 136 | 136 | { |
| 137 | - switch ($transformation){ |
|
| 137 | + switch ($transformation) { |
|
| 138 | 138 | case "1": |
| 139 | 139 | return strtoupper($this->value); |
| 140 | 140 | case "2": |