fix error transfer received sms + finish octopush shortcode adapter

This commit is contained in:
osaajani 2020-04-03 03:38:35 +02:00
parent 6ad299f21e
commit 49f3a4b28c
8 changed files with 139 additions and 16 deletions

View file

@ -174,7 +174,11 @@ namespace adapters;
* @param string $text : Text of the SMS to send
* @param bool $flash : Is the SMS a Flash SMS
*
* @return mixed Uid of the sended message if send, False else
* @return array : [
* bool 'error' => false if no error, true else
* ?string 'error_message' => null if no error, else error message
* array 'uid' => Uid of the sms created on success
* ]
*/
public function send(string $destination, string $text, bool $flash = false)
{