Passed
Push — develop ( cd2eb2...48150f )
by Daniel
02:25
created
services/fields.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
 		extract($this->phpbb_dispatcher->trigger_event('blitze.content.fields.set_values', compact($vars)));
97 97
 
98 98
 		$this->board_url = generate_board_url(true);
99
-		$this->tpl_name	= ($custom_tpl) ? $tpl_name ?: $this->content_type . '_' . $view_mode : '';
99
+		$this->tpl_name = ($custom_tpl) ? $tpl_name ?: $this->content_type . '_' . $view_mode : '';
100 100
 		$this->db_fields = $db_fields;
101 101
 
102 102
 		$this->content_type = $entity->get_content_name();
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
 			$field_data['field_props'] = array_replace_recursive($this->form_fields[$field_type]->get_default_props(), $field_data['field_props']);
221 221
 			$field_data['field_value'] = &$field_values[$field_name];
222 222
 
223
-			$field_contents	= $this->form_fields[$field_type]->display_field($field_data, $tpl_data, $this->display_mode);
223
+			$field_contents = $this->form_fields[$field_type]->display_field($field_data, $tpl_data, $this->display_mode);
224 224
 
225 225
 			// this essentially hides other fields if the field returns an array
226 226
 			if (is_array($field_contents))
Please login to merge, or discard this patch.
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.