Passed
Push — master ( 562556...f9cab4 )
by Chris
03:06
created
includes/admin/reports/overview.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 	}
37 37
 
38 38
 	// Outputs the report.
39
-	protected function get_report_html( $data = array() ){
39
+	protected function get_report_html( $data = array() ) {
40 40
 		ob_start();
41 41
 		if ( ! empty( $data['overviewgraph']['count'] ) && $data['overviewgraph']['count'] > 0 ) {
42 42
 			?>
@@ -508,7 +508,7 @@  discard block
 block discarded – undo
508 508
 						foreach( $data['countries'] as $icountry => $countrydata ) {
509 509
 							if ( ! empty( $countries[ $countrydata['iso'] ] ) ) {
510 510
 								echo '<li class="list-group-item"><span class="monsterinsights-reports-list-count">'. $i .'.</span><span class="monsterinsights-reports-country-flag monsterinsights-flag-icon monsterinsights-flag-icon-' . strtolower( $countrydata['iso'] ) . ' "></span><span class="monsterinsights-reports-list-text">' . $countries[ $countrydata['iso'] ] . '</span><span class="monsterinsights-reports-list-number">' . number_format_i18n( $countrydata['sessions'] ) . '</span></li>';
511
-							} else { 
511
+							} else {
512 512
 								echo '<li class="list-group-item"><span class="monsterinsights-reports-list-count">'. $num .'</span><span class="monsterinsights-flag-icon monsterinsights-flag-icon-' . strtolower( $countrydata['iso'] ) . ' "></span><span class="monsterinsights-reports-list-text">' . $countrydata['iso'] . '</span><span class="monsterinsights-reports-list-number">' . number_format_i18n( $countrydata['sessions'] ) . '</span></li>';
513 513
 							}
514 514
 							$i++;
Please login to merge, or discard this patch.