@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | return []; |
55 | 55 | } |
56 | 56 | $results = explode($this->multiple_separator, substr($input, 1, -1)); |
57 | - if ( !empty($this->config['widget_config']['id_field']) |
|
57 | + if (!empty($this->config['widget_config']['id_field']) |
|
58 | 58 | && $this->config['widget_config']['id_field'] == 'id') { |
59 | 59 | $results = array_map('intval', $results); |
60 | 60 | } |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | |
68 | 68 | public function reverseTransform($array) |
69 | 69 | { |
70 | - if (!is_array($array) ) { |
|
70 | + if (!is_array($array)) { |
|
71 | 71 | throw new TransformationFailedException('Expected an array.'); |
72 | 72 | } |
73 | 73 |