Skip to content

Commit 4350936

Browse files
phpcs
1 parent c6a652c commit 4350936

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

classes/Visualizer/Module/Admin.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,14 @@ public function getLoggerData( $data ) {
8080
* @access private
8181
*/
8282
public function getChartCountsByTypeAndMeta( $meta_keys = array() ) {
83-
$charts = array();
84-
$charts['chart_types'] = array();
83+
$charts = array();
84+
$charts['chart_types'] = array();
8585
// the initial query arguments to fetch charts
8686
$query_args = array(
8787
'post_type' => Visualizer_Plugin::CPT_VISUALIZER,
8888
'posts_per_page' => 300,
8989
'fields' => 'ids',
90-
'no_rows_found' => false,
90+
'no_rows_found' => false,
9191
'update_post_meta_cache' => false,
9292
'update_post_term_cache' => false,
9393

@@ -100,7 +100,7 @@ public function getChartCountsByTypeAndMeta( $meta_keys = array() ) {
100100
$charts['chart_types'][ $type ] = isset( $charts['chart_types'][ $type ] ) ? $charts['chart_types'][ $type ] + 1 : 1;
101101
if ( ! empty( $meta_keys ) ) {
102102
foreach ( $meta_keys as $name => $key ) {
103-
$data = get_post_meta( $chart_id, $key, true );
103+
$data = get_post_meta( $chart_id, $key, true );
104104
if ( ! empty( $data ) ) {
105105
$charts[ $name ] = isset( $charts[ $name ] ) ? $charts[ $name ] + 1 : 1;
106106
} else {

0 commit comments

Comments
 (0)