mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
@@ -29,8 +29,8 @@ interface Transport
|
||||
/**
|
||||
* Gets called when an alert is sent
|
||||
*
|
||||
* @param $alert_data array An array created by DescribeAlert
|
||||
* @param $opts array|true The options from the alert_transports transport_config column
|
||||
* @param array $alert_data An array created by DescribeAlert
|
||||
* @param array|true $opts The options from the alert_transports transport_config column
|
||||
* @return mixed Returns if the call was successful
|
||||
*/
|
||||
public function deliverAlert($alert_data, $opts);
|
||||
|
@@ -28,7 +28,7 @@ interface Keyable
|
||||
{
|
||||
/**
|
||||
* Get a string that can identify a unique instance of this model
|
||||
* @return string
|
||||
* @return string|int
|
||||
*/
|
||||
public function getCompositeKey();
|
||||
}
|
||||
|
Reference in New Issue
Block a user