Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions classes/Visualizer/Module/Chart.php
Original file line number Diff line number Diff line change
Expand Up @@ -375,11 +375,11 @@ public function getCharts() {
*
* @access private
*
* @param WP_Post $chart The chart object.
* @param WP_Post|null $chart The chart object.
*
* @return array The array of chart data.
*/
private function _getChartArray( WP_Post $chart = null ) {
private function _getChartArray( ?WP_Post $chart = null ) {
if ( is_null( $chart ) ) {
$chart = $this->_chart;
}
Expand Down