mirror of
https://github.com/Cacti/cacti.git
synced 2026-12-02 13:18:12 +09:00
More issues with mixed input variable types
This commit is contained in:
1 parent
a1bb76840c
commit
4e4db97012
1 file changed
+1
-1
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user