We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 539a3e1 commit e45dc83Copy full SHA for e45dc83
2 files changed
classes/Visualizer/Module/Chart.php
@@ -379,7 +379,7 @@ public function getCharts() {
379
*
380
* @return array The array of chart data.
381
*/
382
- private function _getChartArray( $chart = null ) {
+ private function _getChartArray( ?WP_Post $chart = null ) {
383
if ( is_null( $chart ) ) {
384
$chart = $this->_chart;
385
}
phpcs.xml
@@ -55,7 +55,7 @@
55
<rule ref="Squiz.Commenting.FunctionComment.ScalarTypeHintMissing">
56
<severity>0</severity>
57
</rule>
58
- <config name="testVersion" value="5.6-" />
+ <config name="testVersion" value="7.4-" />
59
<rule ref="PHPCompatibilityWP">
60
61
0 commit comments