diff --git a/LibreNMS/Alert/Transport/Pushbullet.php b/LibreNMS/Alert/Transport/Pushbullet.php index e34d799282..fb62af7842 100644 --- a/LibreNMS/Alert/Transport/Pushbullet.php +++ b/LibreNMS/Alert/Transport/Pushbullet.php @@ -32,7 +32,7 @@ class Pushbullet extends Transport if (!empty($this->config)) { $opts = $this->config['pushbullet-token']; } - return contactPushbullet($obj, $opts); + return $this->contactPushbullet($obj, $opts); } public function contactPushbullet($obj, $opts) diff --git a/LibreNMS/Interfaces/Alert/Transport.php b/LibreNMS/Interfaces/Alert/Transport.php index aa0710f309..4eb1661023 100644 --- a/LibreNMS/Interfaces/Alert/Transport.php +++ b/LibreNMS/Interfaces/Alert/Transport.php @@ -32,7 +32,7 @@ interface Transport * * @param $alert_data array An array created by DescribeAlert * @param $opts array|true The options from $config['alert']['transports'][$transport] - * @return bool Returns if the call was successful + * @return mixed Returns if the call was successful */ public function deliverAlert($alert_data, $opts); }