Passed
Push — release-3.0.0 ( e8971e...d75c10 )
by Daniel
04:23
created
services/views/driver/base_view.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
 
139 139
 		foreach ($posts_data as $topic_id => $posts)
140 140
 		{
141
-			$post_data	= array_shift($posts);
141
+			$post_data = array_shift($posts);
142 142
 			$topic_data	= $topics_data[$topic_id];
143 143
 			$topic_data = $this->fields->show($content_type, $topic_data, $post_data, $users_cache, $attachments, $update_count, $topic_tracking_info, $topic_data_overwrite);
144 144
 
Please login to merge, or discard this patch.
services/fields.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 		$this->set_comments_type($entity->get_comments());
106 106
 
107 107
 		$this->board_url = generate_board_url(true);
108
-		$this->tpl_name	= ($custom_tpl) ? ($tpl_name ?: $this->content_type . '_' . $view_mode) : '';
108
+		$this->tpl_name = ($custom_tpl) ? ($tpl_name ?: $this->content_type . '_' . $view_mode) : '';
109 109
 		$this->db_fields = $db_fields;
110 110
 	}
111 111
 
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
 			$field_data['field_value'] = &$field_values[$field_name];
247 247
 			$field_data['field_value'] = $this->form_fields[$field_type]->get_field_value($field_data);
248 248
 
249
-			$field_contents	= $this->form_fields[$field_type]->display_field($field_data, $tpl_data, $this->display_mode);
249
+			$field_contents = $this->form_fields[$field_type]->display_field($field_data, $tpl_data, $this->display_mode);
250 250
 			$display_data['raw'][$field_name] = $field_data['field_value'];
251 251
 
252 252
 			// this essentially hides other fields if the field returns an array
Please login to merge, or discard this patch.
services/form/field/choice.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
 			foreach ($choices as $value => $option)
91 91
 			{
92 92
 				$options[] = array(
93
-					'id'		=> 'smc-'. $data['field_name'] . '-' . $count,
93
+					'id'		=> 'smc-' . $data['field_name'] . '-' . $count,
94 94
 					'label'		=> $this->language->lang($option),
95 95
 					'selected'	=> (int) (in_array($value, (array) $data['field_value'])),
96 96
 					'value'		=> $value,
Please login to merge, or discard this patch.