Skip to content

Commit a8ef646

Browse files
fix: add missing variable declarations
1 parent 6c469f2 commit a8ef646

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,9 @@ Possiamo ora procedere ad inviare un SMS:
206206
```php
207207

208208
try {
209-
$singleSms = $this->openapi->SMS->sendOne('Nome del mittente', $recipient, 'lorem ipsum', null, 1, null);
209+
$priority = 1;
210+
$options = null;
211+
$singleSms = $this->openapi->SMS->sendOne('Nome del mittente', $recipient, 'lorem ipsum', null, $priority, $options);
210212
} catch (\OpenApi\classes\exception\OpenApiConnectionsException $e) {
211213
throw 'Non è stato possibile recapitare il messaggio';
212214
}

0 commit comments

Comments
 (0)