diff options
Diffstat (limited to 'examples/templates/create_template.php')
-rw-r--r-- | examples/templates/create_template.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/templates/create_template.php b/examples/templates/create_template.php index c25b900..826b076 100644 --- a/examples/templates/create_template.php +++ b/examples/templates/create_template.php @@ -16,12 +16,12 @@ $httpClient = new GuzzleAdapter(new Client()); $sparky = new SparkPost($httpClient, $options); $promise = $sparky->request('POST', 'templates', [ - "name" => "PHP example template", - "content" => [ - "from" => "from@YOUR_DOMAIN", - "subject" => "Your Subject", - "html" => "<b>Write your message here.</b>" - ] + 'name' => 'PHP example template', + 'content' => [ + 'from' => 'from@YOUR_DOMAIN', + 'subject' => 'Your Subject', + 'html' => '<b>Write your message here.</b>', + ], ]); try { |