removing callable type-hint, not supported on older PHP versions
parent
1546b0e8f9
commit
dfa848c072
|
@ -184,7 +184,7 @@ class HistoryGraph {
|
|||
* @param boolean $add_uptime add uptime calculation?
|
||||
* @return array
|
||||
*/
|
||||
protected function generateGraphLines($records, $lines, callable $cb_if_up, $latency_avg_key, $add_uptime = false) {
|
||||
protected function generateGraphLines($records, $lines, $cb_if_up, $latency_avg_key, $add_uptime = false) {
|
||||
$data = array();
|
||||
|
||||
// PLEASE NOTE: all times are in microseconds! because of javascript.
|
||||
|
@ -263,4 +263,4 @@ class HistoryGraph {
|
|||
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue