Completed
Push — develop ( 733603...f85365 )
by Daniel
15:29 queued 09:35
created
model/menus/entity/item.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 	 */
137 137
 	public function set_item_icon($icon)
138 138
 	{
139
-		$this->item_icon = ($icon) ? trim($icon) . ' ' : '';
139
+		$this->item_icon = ($icon) ? trim($icon).' ' : '';
140 140
 		return $this;
141 141
 	}
142 142
 
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
 		// add leading / for local paths, except leading hashtags
154 154
 		if ($this->item_url && $this->item_url[0] !== '#' && $this->is_local_path($this->item_url))
155 155
 		{
156
-			$this->item_url = '/' . $this->item_url;
156
+			$this->item_url = '/'.$this->item_url;
157 157
 		}
158 158
 
159 159
 		return $this;
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
 
169 169
 		if ($item_url && $item_url[0] === '/')
170 170
 		{
171
-			$item_url = $this->board_url . $item_url;
171
+			$item_url = $this->board_url.$item_url;
172 172
 			if ($this->mod_rewrite_enabled)
173 173
 			{
174 174
 				$item_url = str_replace('app.php/', '', $item_url);
Please login to merge, or discard this patch.
services/blocks/display.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
 	 */
114 114
 	protected function toggle_edit_mode()
115 115
 	{
116
-		$edit_mode = $this->request->variable($this->config['cookie_name'] . '_sm_edit_mode', false, false, \phpbb\request\request_interface::COOKIE);
116
+		$edit_mode = $this->request->variable($this->config['cookie_name'].'_sm_edit_mode', false, false, \phpbb\request\request_interface::COOKIE);
117 117
 
118 118
 		if ($this->request->is_set('edit_mode'))
119 119
 		{
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 				);
170 170
 			}
171 171
 
172
-			$u_edit_mode = append_sid(generate_board_url() . '/' . ltrim(rtrim(build_url(array('edit_mode', 'sid', 'style')), '?'), './../'), 'edit_mode=' . (int) !$edit_mode);
172
+			$u_edit_mode = append_sid(generate_board_url().'/'.ltrim(rtrim(build_url(array('edit_mode', 'sid', 'style')), '?'), './../'), 'edit_mode='.(int) !$edit_mode);
173 173
 		}
174 174
 		else
175 175
 		{
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
 
133 133
 	/**
134 134
 	 * @param bool $is_sub_route
135
-	 * @return array
135
+	 * @return boolean[]
136 136
 	 */
137 137
 	protected function get_display_modes($is_sub_route)
138 138
 	{
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
 
159 159
 	/**
160 160
 	 * @param bool  $edit_mode
161
-	 * @param array $modes
161
+	 * @param boolean[] $modes
162 162
 	 * @return string
163 163
 	 */
164 164
 	protected function get_edit_mode_url(&$edit_mode, array &$modes)
@@ -198,7 +198,6 @@  discard block
 block discarded – undo
198 198
 	}
199 199
 
200 200
 	/**
201
-	 * @param int $style_id
202 201
 	 * @param bool  $edit_mode
203 202
 	 * @param array $route_info
204 203
 	 */
Please login to merge, or discard this patch.