From 4e4db970129c9a84dff9feaee6b3e7c2148a4b30 Mon Sep 17 00:00:00 2001 From: TheWitness Date: Sun, 11 Oct 2020 18:57:12 -0400 Subject: [PATCH] More issues with mixed input variable types --- lib/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions.php b/lib/functions.php index 7b8c14d222..0afef9f9d9 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -3058,7 +3058,7 @@ function generate_data_source_path($local_data_id) { * * @return mixed the best cf to use */ -function generate_graph_best_cf($local_data_id, $requested_cf, $ds_step = 60) { +function generate_graph_best_cf($local_data_id, $requested_cf, int $ds_step = 60): string { static $best_cf; if ($local_data_id > 0) {