Passed
Push — master ( d062ce...31fdb3 )
by John
01:50
created
src/Class-UltimateMenu.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -361,11 +361,11 @@
 block discarded – undo
361 361
 			if (!empty($button_data['sub_buttons']))
362 362
 			{
363 363
 				foreach ($button_data['sub_buttons'] as $child_button => $child_button_data)
364
-					$button_names[$child_button] = [1,  $child_button_data['title']];
364
+					$button_names[$child_button] = [1, $child_button_data['title']];
365 365
 
366 366
 				if (!empty($child_button_data['sub_buttons']))
367 367
 					foreach ($child_button_data['sub_buttons'] as $grand_child_button => $grand_child_button_data)
368
-						$button_names[$grand_child_button] = [ 2,  $grand_child_button_data['title']];
368
+						$button_names[$grand_child_button] = [2, $grand_child_button_data['title']];
369 369
 			}
370 370
 		}
371 371
 
Please login to merge, or discard this patch.
src/ManageUltimateMenu.template.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 		printf('
58 58
 								<option value="%s"%s>%s...</option>',
59 59
 			$v,
60
-			$context['button_data']['position'] ==  $v ? ' selected="selected"' : '',
60
+			$context['button_data']['position'] == $v ? ' selected="selected"' : '',
61 61
 			$txt['um_menu_' . $v]);
62 62
 
63 63
 	echo '
@@ -68,8 +68,8 @@  discard block
 block discarded – undo
68 68
 		printf('
69 69
 								<option value="%s"%s>%s...</option>',
70 70
 			$idx,
71
-			$context['button_data']['position'] ==  $idx ? ' selected="selected"' : '',
72
-			empty($title[0])?$title[1]:str_repeat('-',$title[0]*2).$title[1]
71
+			$context['button_data']['position'] == $idx ? ' selected="selected"' : '',
72
+			empty($title[0]) ? $title[1] : str_repeat('-', $title[0] * 2) . $title[1]
73 73
 		);
74 74
 
75 75
 	echo '
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 									<input type="checkbox" class="input_check" name="permissions[]" value="', $id, '"', $permission['checked'] ? ' checked="checked"' : '', ' />
111 111
 									<span';
112 112
 
113
-		if  ($permission['is_post_group'])
113
+		if ($permission['is_post_group'])
114 114
 			echo ' title="' . $txt['mboards_groups_post_group'] . '"';
115 115
 
116 116
 		echo '>', $permission['name'], '</span>
Please login to merge, or discard this patch.