File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ The API calls either return a `SparkPostPromise` or `SparkPostResponse` dependin
298298``` php
299299$sparky->setOptions(['async' => false]);
300300try {
301- $response = $sparky->transmissions->get();
301+ $response = ... // YOUR API CALL GOES HERE
302302
303303 echo $response->getStatusCode()."\n";
304304 print_r($response->getBody())."\n";
@@ -314,7 +314,7 @@ Asynchronous an be handled in two ways: by passing callbacks or waiting for the
314314##### Wait (Synchronous)
315315``` php
316316
317- $promise = // YOUR API CALL GOES HERE
317+ $promise = ... // YOUR API CALL GOES HERE
318318
319319try {
320320 $response = $promise->wait();
@@ -330,7 +330,7 @@ echo "I will print out after the promise is fulfilled";
330330
331331##### Then (Asynchronous)
332332``` php
333- $promise = // YOUR API CALL GOES HERE
333+ $promise = ... // YOUR API CALL GOES HERE
334334
335335$promise->then(
336336 // Success callback
You can’t perform that action at this time.
0 commit comments