Apply fixes from StyleCI (#15101)

Co-authored-by: StyleCI Bot <bot@styleci.io>
This commit is contained in:
Jellyfrog
2023-06-13 13:35:00 +02:00
committed by GitHub
parent e547945985
commit b14e2d4609
28 changed files with 38 additions and 51 deletions

View File

@@ -847,10 +847,10 @@ function ignore_storage($os, $descr)
}
/**
* @param $valid
* @param $valid
* @param OS $os
* @param $sensor_type
* @param $pre_cache
* @param $sensor_type
* @param $pre_cache
*/
function discovery_process(&$valid, $os, $sensor_class, $pre_cache)
{
@@ -1003,7 +1003,7 @@ function discovery_process(&$valid, $os, $sensor_class, $pre_cache)
}
/**
* @param $types
* @param $types
* @param OS $os
* @param array $pre_cache
*/
@@ -1200,7 +1200,7 @@ function add_cbgp_peer($device, $peer, $afi, $safi)
/**
* check if we should skip this sensor from discovery
*
* @param $device
* @param $device
* @param string $sensor_class
* @param string $sensor_descr
* @return bool