Completed
Push — develop ( 755a17...843010 )
by Daniel
07:33
created
controller/main_controller.php 3 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,6 @@
 block discarded – undo
93 93
 	 * @param string $type
94 94
 	 * @param string $slug
95 95
 	 * @param int $topic_id
96
-	 * @param int $page
97 96
 	 * @return \Symfony\Component\HttpFoundation\Response A Symfony Response object
98 97
 	 */
99 98
 	public function show($type, $slug, $topic_id)
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -156,15 +156,15 @@
 block discarded – undo
156 156
 	{
157 157
 		if (!$this->user->data['is_bot'] && !$this->request->is_set('page'))
158 158
 		{
159
-			$sql = 'UPDATE ' . TOPICS_TABLE . '
160
-				SET topic_views = topic_views + 1, topic_last_view_time = ' . time() . "
159
+			$sql = 'UPDATE '.TOPICS_TABLE.'
160
+				SET topic_views = topic_views + 1, topic_last_view_time = ' . time()."
161 161
 				WHERE topic_id = $topic_id";
162 162
 			$this->db->sql_query($sql);
163 163
 
164 164
 			// Update the attachment download counts
165 165
 			if (sizeof($update_count))
166 166
 			{
167
-				$sql = 'UPDATE ' . ATTACHMENTS_TABLE . '
167
+				$sql = 'UPDATE '.ATTACHMENTS_TABLE.'
168 168
 					SET download_count = download_count + 1
169 169
 					WHERE ' . $this->db->sql_in_set('attach_id', array_unique($update_count));
170 170
 				$this->db->sql_query($sql);
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 	 * @param \blitze\content\services\poll							$poll				Poll object
51 51
 	 * @param \blitze\content\services\types						$content_types		Content types object
52 52
 	 * @param \blitze\content\services\views\views_factory			$views_factory		Views handlers
53
-	*/
53
+	 */
54 54
 	public function __construct(\phpbb\db\driver\driver_interface $db, \phpbb\controller\helper $helper, \phpbb\request\request_interface $request, \phpbb\template\template $template, \phpbb\user $user, \blitze\content\services\comments\comments_interface $comments, \blitze\content\services\poll $poll, \blitze\content\services\types $content_types, \blitze\content\services\views\views_factory $views_factory)
55 55
 	{
56 56
 		$this->db = $db;
Please login to merge, or discard this patch.
services/actions/topic/moderate.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
 	}
156 156
 
157 157
 	/**
158
-	 * @param $action
158
+	 * @param string $action
159 159
 	 * @param array $topic_ids
160 160
 	 */
161 161
 	protected function change_topic_type($action, array $topic_ids)
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -70,8 +70,7 @@  discard block
 block discarded – undo
70 70
 		{
71 71
 			$forum_ids = $this->get_selected_forum_ids($topic_ids);
72 72
 			$this->{$action}($topic_ids, $forum_ids);
73
-		}
74
-		else
73
+		} else
75 74
 		{
76 75
 			$message =  $this->language->lang('INVALID_REQUEST', $action);
77 76
 			trigger_error($message . '<br /><br />' . $this->language->lang('RETURN_PAGE', '<a href="' . $u_action . '">', '</a>'));
@@ -113,8 +112,7 @@  discard block
 block discarded – undo
113 112
 		{
114 113
 			$this->approve($topic_ids, $forum_ids, false);
115 114
 			\mcp_queue::disapprove_posts($post_id_list, '-blitze-content-mcp-content_module', 'content');
116
-		}
117
-		else
115
+		} else
118 116
 		{
119 117
 			trigger_error('NO_POST_SELECTED');
120 118
 		}
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -73,8 +73,8 @@  discard block
 block discarded – undo
73 73
 		}
74 74
 		else
75 75
 		{
76
-			$message =  $this->language->lang('INVALID_REQUEST', $action);
77
-			trigger_error($message . '<br /><br />' . $this->language->lang('RETURN_PAGE', '<a href="' . $u_action . '">', '</a>'));
76
+			$message = $this->language->lang('INVALID_REQUEST', $action);
77
+			trigger_error($message.'<br /><br />'.$this->language->lang('RETURN_PAGE', '<a href="'.$u_action.'">', '</a>'));
78 78
 		}
79 79
 	}
80 80
 
@@ -86,8 +86,8 @@  discard block
 block discarded – undo
86 86
 	 */
87 87
 	protected function approve(array $topic_ids, array $forum_ids, $execute = true)
88 88
 	{
89
-		include($this->phpbb_root_path . 'includes/mcp/mcp_queue.' . $this->php_ext);
90
-		include($this->phpbb_root_path . 'includes/functions_messenger.' . $this->php_ext);
89
+		include($this->phpbb_root_path.'includes/mcp/mcp_queue.'.$this->php_ext);
90
+		include($this->phpbb_root_path.'includes/functions_messenger.'.$this->php_ext);
91 91
 
92 92
 		if (!(sizeof(array_intersect_key($forum_ids, $this->auth->acl_getf('m_approve', true)))))
93 93
 		{
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
 	 */
150 150
 	protected function resync(array $topic_ids)
151 151
 	{
152
-		include($this->phpbb_root_path . 'includes/mcp/mcp_forum.' . $this->php_ext);
152
+		include($this->phpbb_root_path.'includes/mcp/mcp_forum.'.$this->php_ext);
153 153
 
154 154
 		mcp_resync_topics($topic_ids);
155 155
 	}
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
 		}
230 230
 
231 231
 		$sql = 'SELECT forum_id
232
-			FROM ' . TOPICS_TABLE . '
232
+			FROM ' . TOPICS_TABLE.'
233 233
 			WHERE ' . $this->db->sql_in_set('topic_id', $topic_ids);
234 234
 		$result = $this->db->sql_query($sql);
235 235
 
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
 		}
258 258
 
259 259
 		$sql = 'SELECT post_id
260
-			FROM ' . POSTS_TABLE . '
260
+			FROM ' . POSTS_TABLE.'
261 261
 			WHERE ' . $this->db->sql_in_set('topic_id', $topic_ids);
262 262
 		$result = $this->db->sql_query($sql);
263 263
 
Please login to merge, or discard this patch.
services/types.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,8 +84,7 @@
 block discarded – undo
84 84
 			if ($trigger_error)
85 85
 			{
86 86
 				throw new \blitze\sitemaker\exception\out_of_bounds($type);
87
-			}
88
-			else
87
+			} else
89 88
 			{
90 89
 				return false;
91 90
 			}
Please login to merge, or discard this patch.
services/form/field/base.php 2 patches
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -134,12 +134,10 @@
 block discarded – undo
134 134
 		if ($this->is_too_short($data, $length))
135 135
 		{
136 136
 			return $this->language->lang('FIELD_TOO_SHORT', $data['field_label'], $data['field_minlength']);
137
-		}
138
-		else if ($this->is_too_long($data, $length))
137
+		} else if ($this->is_too_long($data, $length))
139 138
 		{
140 139
 			return $this->language->lang('FIELD_TOO_LONG', $data['field_label'], $data['field_maxlength']);
141
-		}
142
-		else
140
+		} else
143 141
 		{
144 142
 			return $this->language->lang('FIELD_INVALID', $data['field_label']);
145 143
 		}
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 		$this->ptemplate->assign_vars($data);
70 70
 
71 71
 		$field = $this->get_name();
72
-		return $this->ptemplate->render_view('blitze/content', "fields/$field.html", $field . '_field');
72
+		return $this->ptemplate->render_view('blitze/content', "fields/$field.html", $field.'_field');
73 73
 	}
74 74
 
75 75
 	/**
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 	 */
86 86
 	public function get_langname()
87 87
 	{
88
-		return strtoupper('FORM_FIELD_' . $this->get_name());
88
+		return strtoupper('FORM_FIELD_'.$this->get_name());
89 89
 	}
90 90
 
91 91
 	/**
Please login to merge, or discard this patch.
services/template/twig.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -13,17 +13,17 @@
 block discarded – undo
13 13
 {
14 14
 
15 15
 	/**
16
-	* Constructor.
17
-	*
18
-	* @param \phpbb\path_helper $path_helper
19
-	* @param \phpbb\config\config $config
20
-	* @param \phpbb\template\context $context template context
21
-	* @param \phpbb\template\twig\environment $twig_environment
22
-	* @param string $cache_path
23
-	* @param \phpbb\user|null $user
24
-	* @param array|\ArrayAccess $extensions
25
-	* @param \phpbb\extension\manager $extension_manager extension manager, if null then template events will not be invoked
26
-	*/
16
+	 * Constructor.
17
+	 *
18
+	 * @param \phpbb\path_helper $path_helper
19
+	 * @param \phpbb\config\config $config
20
+	 * @param \phpbb\template\context $context template context
21
+	 * @param \phpbb\template\twig\environment $twig_environment
22
+	 * @param string $cache_path
23
+	 * @param \phpbb\user|null $user
24
+	 * @param array|\ArrayAccess $extensions
25
+	 * @param \phpbb\extension\manager $extension_manager extension manager, if null then template events will not be invoked
26
+	 */
27 27
 	public function __construct(\phpbb\path_helper $path_helper, $config, \phpbb\template\context $context, \phpbb\template\twig\environment $twig_environment, $cache_path, \phpbb\user $user = null, $extensions = array(), \phpbb\extension\manager $extension_manager = null)
28 28
 	{
29 29
 		$this->path_helper = $path_helper;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,9 +42,9 @@
 block discarded – undo
42 42
 		}
43 43
 
44 44
 		// Add admin namespace
45
-		if ($this->path_helper->get_adm_relative_path() !== null && is_dir($this->phpbb_root_path . $this->path_helper->get_adm_relative_path() . 'style/'))
45
+		if ($this->path_helper->get_adm_relative_path() !== null && is_dir($this->phpbb_root_path.$this->path_helper->get_adm_relative_path().'style/'))
46 46
 		{
47
-			$this->twig->getLoader()->setPaths($this->phpbb_root_path . $this->path_helper->get_adm_relative_path() . 'style/', 'admin');
47
+			$this->twig->getLoader()->setPaths($this->phpbb_root_path.$this->path_helper->get_adm_relative_path().'style/', 'admin');
48 48
 		}
49 49
 	}
50 50
 }
Please login to merge, or discard this patch.
services/template/loader.php 3 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -127,8 +127,7 @@
 block discarded – undo
127 127
 		{
128 128
 			$data = $this->blocks_data[$id];
129 129
 			$column_name = 'block_tpl';
130
-		}
131
-		else
130
+		} else
132 131
 		{
133 132
 			$data = $this->content_types[$id];
134 133
 			$column_name = $view . '_tpl';
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
 		else
132 132
 		{
133 133
 			$data = $this->content_types[$id];
134
-			$column_name = $view . '_tpl';
134
+			$column_name = $view.'_tpl';
135 135
 		}
136 136
 
137 137
 		$return = array(
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
 
89 89
 		return new \Twig_Source($source, $name);
90 90
 	}
91
-	*/
91
+	 */
92 92
 
93 93
 	/**
94 94
 	 * Twig_ExistsLoaderInterface as of Twig 1.11
Please login to merge, or discard this patch.
services/actions/topic/index.php 2 patches
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -272,16 +272,13 @@
 block discarded – undo
272 272
 		if ($topic_deleted)
273 273
 		{
274 274
 			$topic_status = 'deleted';
275
-		}
276
-		else if ($topic_unapproved)
275
+		} else if ($topic_unapproved)
277 276
 		{
278 277
 			$topic_status = 'unapproved';
279
-		}
280
-		else if ($row['topic_time'] > time())
278
+		} else if ($row['topic_time'] > time())
281 279
 		{
282 280
 			$topic_status = 'scheduled';
283
-		}
284
-		else
281
+		} else
285 282
 		{
286 283
 			$topic_status = $this->filter_topic_types_ary[$row['topic_type']];
287 284
 		}
Please login to merge, or discard this patch.
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 	 */
91 91
 	public function execute($u_action, $mode = '')
92 92
 	{
93
-		include($this->phpbb_root_path . 'includes/functions_display.' . $this->php_ext);
93
+		include($this->phpbb_root_path.'includes/functions_display.'.$this->php_ext);
94 94
 
95 95
 		$this->language->add_lang('viewforum');
96 96
 		$this->language->add_lang('manager', 'blitze/content');
@@ -103,8 +103,8 @@  discard block
 block discarded – undo
103 103
 		$filter_topic_status = $this->apply_status_filter($sql_where_array);
104 104
 		$filter_content_type = $this->apply_content_type_filter();
105 105
 
106
-		$callable = 'init_' . $mode . '_mode';
107
-		$this->base_url = $u_action . (sizeof($this->params) ? '&amp;' : '');
106
+		$callable = 'init_'.$mode.'_mode';
107
+		$this->base_url = $u_action.(sizeof($this->params) ? '&amp;' : '');
108 108
 		$this->$callable($content_types, $sql_where_array);
109 109
 
110 110
 		$this->forum->query()
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
 		$topic_tracking_info = $this->forum->get_topic_tracking_info();
136 136
 
137 137
 		$topics_data = array_values($topics_data);
138
-		$base_url = $u_action . http_build_query($this->params);
138
+		$base_url = $u_action.http_build_query($this->params);
139 139
 
140 140
 		for ($i = 0, $size = sizeof($topics_data); $i < $size; $i++)
141 141
 		{
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
 	{
171 171
 		return array(
172 172
 			'ATTACH_ICON_IMG'	=> $this->get_attachment_icon($row),
173
-			'U_REVIEW_TOPIC'	=> $u_action . "&amp;do=view&amp;type=$content_type&amp;t=" . $row['topic_id'],
173
+			'U_REVIEW_TOPIC'	=> $u_action."&amp;do=view&amp;type=$content_type&amp;t=".$row['topic_id'],
174 174
 			'U_DELETE'			=> $this->get_delete_url($mode, $u_action, $row, $post_row),
175 175
 		);
176 176
 	}
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
 			'S_CAN_MAKE_NORMAL'		=> ($s_can_make_sticky || $s_can_make_announce),
197 197
 			'S_CAN_MAKE_STICKY'		=> $s_can_make_sticky,
198 198
 			'S_CAN_MAKE_ANNOUNCE'	=> $s_can_make_announce,
199
-			'U_MCP_ACTION'			=> $this->base_url . '&amp;do=moderate&amp;redirect=' . $this->get_redirect_url($this->base_url),
199
+			'U_MCP_ACTION'			=> $this->base_url.'&amp;do=moderate&amp;redirect='.$this->get_redirect_url($this->base_url),
200 200
 		));
201 201
 	}
202 202
 
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
 	 */
207 207
 	protected function init_ucp_mode(array $content_types, array &$sql_where_array)
208 208
 	{
209
-		$sql_where_array[] =  't.topic_poster = ' . (int) $this->user->data['user_id'];
209
+		$sql_where_array[] = 't.topic_poster = '.(int) $this->user->data['user_id'];
210 210
 
211 211
 		// list all content types that the user can post in
212 212
 		$postable_forums = array_intersect_key($this->content_forums, $this->auth->acl_getf('f_post', true));
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
 			$this->template->assign_block_vars('postable', array(
219 219
 				'TYPE'		=> $entity->get_content_langname(),
220 220
 				'COLOUR'	=> $entity->get_content_colour(),
221
-				'U_POST'	=> append_sid("{$this->phpbb_root_path}posting." . $this->php_ext, 'mode=post&amp;f=' . $entity->get_forum_id()),
221
+				'U_POST'	=> append_sid("{$this->phpbb_root_path}posting.".$this->php_ext, 'mode=post&amp;f='.$entity->get_forum_id()),
222 222
 			));
223 223
 		}
224 224
 	}
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
 			'CONTENT_TYPE'			=> $entity->get_content_langname(),
238 238
 			'CONTENT_TYPE_COLOR'	=> $entity->get_content_colour(),
239 239
 			'S_COMMENTS'			=> $entity->get_allow_comments(),
240
-			'U_CONTENT_TYPE'		=> $base_url . "&amp;type=$type",
240
+			'U_CONTENT_TYPE'		=> $base_url."&amp;type=$type",
241 241
 		);
242 242
 	}
243 243
 
@@ -287,8 +287,8 @@  discard block
 block discarded – undo
287 287
 		}
288 288
 
289 289
 		return array(
290
-			'TOPIC_STATUS'		=> $this->language->lang('TOPIC_' . strtoupper($topic_status)),
291
-			'U_TOPIC_STATUS'	=> $base_url . "&amp;status=$topic_status",
290
+			'TOPIC_STATUS'		=> $this->language->lang('TOPIC_'.strtoupper($topic_status)),
291
+			'U_TOPIC_STATUS'	=> $base_url."&amp;status=$topic_status",
292 292
 		);
293 293
 	}
294 294
 
@@ -316,7 +316,7 @@  discard block
 block discarded – undo
316 316
 		if ($mode === 'mcp')
317 317
 		{
318 318
 			$u_mcp_queue = $this->get_mcp_queue_url($topic_unapproved, $posts_unapproved, $topic_id);
319
-			$u_mcp_queue = (!$u_mcp_queue && $topic_deleted) ? append_sid("{$this->phpbb_root_path}mcp.$this->php_ext", 'i=queue&amp;mode=deleted_topics&amp;t=' . $topic_id, true, $this->user->session_id) : $u_mcp_queue;
319
+			$u_mcp_queue = (!$u_mcp_queue && $topic_deleted) ? append_sid("{$this->phpbb_root_path}mcp.$this->php_ext", 'i=queue&amp;mode=deleted_topics&amp;t='.$topic_id, true, $this->user->session_id) : $u_mcp_queue;
320 320
 		}
321 321
 
322 322
 		return array(
@@ -332,7 +332,7 @@  discard block
 block discarded – undo
332 332
 	 */
333 333
 	protected function get_mcp_queue_url($topic_unapproved, $posts_unapproved, $topic_id)
334 334
 	{
335
-		return ($topic_unapproved || $posts_unapproved) ? append_sid("{$this->phpbb_root_path}mcp.$this->php_ext", 'i=queue&amp;mode=' . (($topic_unapproved) ? 'approve_details' : 'unapproved_posts') . "&amp;t=$topic_id", true, $this->user->session_id) : '';
335
+		return ($topic_unapproved || $posts_unapproved) ? append_sid("{$this->phpbb_root_path}mcp.$this->php_ext", 'i=queue&amp;mode='.(($topic_unapproved) ? 'approve_details' : 'unapproved_posts')."&amp;t=$topic_id", true, $this->user->session_id) : '';
336 336
 	}
337 337
 
338 338
 	/**
@@ -349,7 +349,7 @@  discard block
 block discarded – undo
349 349
 			if ($mode === 'mcp')
350 350
 			{
351 351
 				$redirect_url = $this->get_redirect_url($u_action);
352
-				$u_delete = append_sid("{$this->phpbb_root_path}mcp.$this->php_ext", 'quickmod=1&amp;action=delete_topic&amp;t=' . $row['topic_id'] . '&amp;redirect=' . $redirect_url, true, $this->user->session_id);
352
+				$u_delete = append_sid("{$this->phpbb_root_path}mcp.$this->php_ext", 'quickmod=1&amp;action=delete_topic&amp;t='.$row['topic_id'].'&amp;redirect='.$redirect_url, true, $this->user->session_id);
353 353
 			}
354 354
 		}
355 355
 
@@ -362,7 +362,7 @@  discard block
 block discarded – undo
362 362
 	 */
363 363
 	protected function get_redirect_url($base_url)
364 364
 	{
365
-		$base_url .= (sizeof($this->params)) ? '&' . http_build_query($this->params) : '';
365
+		$base_url .= (sizeof($this->params)) ? '&'.http_build_query($this->params) : '';
366 366
 		return urlencode(str_replace('&amp;', '&', $base_url));
367 367
 	}
368 368
 
Please login to merge, or discard this patch.
controller/ucp_controller.php 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 	 *
23 23
 	 * @param \phpbb\language\language					$language			Language object
24 24
 	 * @param \blitze\content\services\action_handler	$action_handler		Handles actions
25
-	*/
25
+	 */
26 26
 	public function __construct(\phpbb\language\language $language, \blitze\content\services\action_handler $action_handler)
27 27
 	{
28 28
 		$this->language = $language;
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,7 @@
 block discarded – undo
42 42
 		{
43 43
 			$command = $this->action_handler->create('topic', $action);
44 44
 			$command->execute($base_url, 'ucp');
45
-		}
46
-		catch (\blitze\sitemaker\exception\base $e)
45
+		} catch (\blitze\sitemaker\exception\base $e)
47 46
 		{
48 47
 			$message = $e->get_message($this->language);
49 48
 			trigger_error($message . '<br /><br />' . $this->language->lang('RETURN_PAGE', '<a href="' . $base_url . '">', '</a>'));
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 		catch (\blitze\sitemaker\exception\base $e)
47 47
 		{
48 48
 			$message = $e->get_message($this->language);
49
-			trigger_error($message . '<br /><br />' . $this->language->lang('RETURN_PAGE', '<a href="' . $base_url . '">', '</a>'));
49
+			trigger_error($message.'<br /><br />'.$this->language->lang('RETURN_PAGE', '<a href="'.$base_url.'">', '</a>'));
50 50
 		}
51 51
 	}
52 52
 }
Please login to merge, or discard this patch.
controller/mcp_controller.php 3 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,7 @@
 block discarded – undo
42 42
 		{
43 43
 			$command = $this->action_handler->create('topic', $action);
44 44
 			$command->execute($base_url, 'mcp');
45
-		}
46
-		catch (\blitze\sitemaker\exception\base $e)
45
+		} catch (\blitze\sitemaker\exception\base $e)
47 46
 		{
48 47
 			$message = $e->get_message($this->language);
49 48
 			trigger_error($message . '<br /><br />' . $this->language->lang('RETURN_PAGE', '<a href="' . $base_url . '">', '</a>'));
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 	 *
23 23
 	 * @param \phpbb\language\language					$language			Language object
24 24
 	 * @param \blitze\content\services\action_handler	$action_handler		Handles actions
25
-	*/
25
+	 */
26 26
 	public function __construct(\phpbb\language\language $language, \blitze\content\services\action_handler $action_handler)
27 27
 	{
28 28
 		$this->language = $language;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 		catch (\blitze\sitemaker\exception\base $e)
47 47
 		{
48 48
 			$message = $e->get_message($this->language);
49
-			trigger_error($message . '<br /><br />' . $this->language->lang('RETURN_PAGE', '<a href="' . $base_url . '">', '</a>'));
49
+			trigger_error($message.'<br /><br />'.$this->language->lang('RETURN_PAGE', '<a href="'.$base_url.'">', '</a>'));
50 50
 		}
51 51
 	}
52 52
 }
Please login to merge, or discard this patch.