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?
|
* @param boolean $add_uptime add uptime calculation?
|
||||||
* @return array
|
* @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();
|
$data = array();
|
||||||
|
|
||||||
// PLEASE NOTE: all times are in microseconds! because of javascript.
|
// PLEASE NOTE: all times are in microseconds! because of javascript.
|
||||||
|
|
Loading…
Reference in New Issue