Skip to content

Commit e3be3eb

Browse files
committed
fix: phpstan errors
1 parent b80bec0 commit e3be3eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

classes/Visualizer/Module/Chart.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ public function renderChartPages() {
581581
do_action( 'visualizer_pro_new_chart_defaults', $chart_id );
582582
}
583583
} else {
584-
$parent_chart_id = isset( $_GET['parent_chart_id'] ) ? filter_var( $_GET['parent_chart_id'], FILTER_VALIDATE_INT ) : '';
584+
$parent_chart_id = filter_var( $_GET['parent_chart_id'], FILTER_VALIDATE_INT );
585585
$success = false;
586586
if ( $parent_chart_id ) {
587587
$parent_chart = get_post( $parent_chart_id );

0 commit comments

Comments
 (0)