removing callable type-hint, not supported on older PHP versions

pull/67/head
Pepijn Over 2014-04-14 12:04:06 +02:00
parent 1546b0e8f9
commit dfa848c072
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}
}