Fixed pushbullet transport (#8963)

* Fixed pushbullet transport

* Updated return value
This commit is contained in:
Neil Lathwood
2018-07-29 22:52:53 +01:00
committed by GitHub
parent 58e331c098
commit cde15ce753
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

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