Passed
Push — master ( e945a6...9c54c2 )
by John
02:19
created
src/Class-UltimateMenu.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -378,11 +378,11 @@
 block discarded – undo
378 378
 			if (!empty($button_data['sub_buttons']))
379 379
 				foreach ($button_data['sub_buttons'] as $child_button => $child_button_data)
380 380
 				{
381
-					$button_names[$child_button] = [1,  $child_button_data['title']];
381
+					$button_names[$child_button] = [1, $child_button_data['title']];
382 382
 
383 383
 					if (!empty($child_button_data['sub_buttons']))
384 384
 						foreach ($child_button_data['sub_buttons'] as $grand_child_button => $grand_child_button_data)
385
-							$button_names[$grand_child_button] = [ 2,  $grand_child_button_data['title']];
385
+							$button_names[$grand_child_button] = [2, $grand_child_button_data['title']];
386 386
 				}
387 387
 		}
388 388
 
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
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 		printf('
71 71
 								<option value="%s"%s>%s...</option>',
72 72
 			$v,
73
-			$context['button_data']['position'] ==  $v ? ' selected="selected"' : '',
73
+			$context['button_data']['position'] == $v ? ' selected="selected"' : '',
74 74
 			$txt['um_menu_' . $v]);
75 75
 
76 76
 	echo '
@@ -81,8 +81,8 @@  discard block
 block discarded – undo
81 81
 		printf('
82 82
 								<option value="%s"%s>%s</option>',
83 83
 			$idx,
84
-			$context['button_data']['parent'] ==  $idx ? ' selected="selected"' : '',
85
-			str_repeat('&emsp;', $title[0]*2) . $title[1]
84
+			$context['button_data']['parent'] == $idx ? ' selected="selected"' : '',
85
+			str_repeat('&emsp;', $title[0] * 2) . $title[1]
86 86
 		);
87 87
 
88 88
 	echo '
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 									<input type="checkbox" class="input_check" name="permissions[]" value="', $id, '"', $permission['checked'] ? ' checked="checked"' : '', ' />
124 124
 									<span';
125 125
 
126
-		if  ($permission['is_post_group'])
126
+		if ($permission['is_post_group'])
127 127
 			echo ' title="' . $txt['mboards_groups_post_group'] . '"';
128 128
 
129 129
 		echo '>', $permission['name'], '</span>
Please login to merge, or discard this patch.