Add a test adapter and add deletion of sendeds scheduled sms

This commit is contained in:
osaajani 2019-12-20 18:31:19 +01:00
parent 99cdf6516a
commit 9eb701ba98
8 changed files with 134 additions and 12 deletions

View file

@ -32,10 +32,10 @@ namespace controllers\internals;
* @param string $origin : Number of the sender
* @param string $destination : Number of the receiver
* @param bool $flash : Is the sms a flash
* @param ?string $status : Status of a the sms. By default null -> unknown
* @param string $status : Status of a the sms. By default 'unknown'
* @return bool : false on error, new sended id else
*/
public function create ($at, string $text, string $origin, string $destination, bool $flash = false, ?string $status = null) : bool
public function create ($at, string $text, string $origin, string $destination, bool $flash = false, ?string $status = 'unknown') : bool
{
$sended = [
'at' => $at,