From 32dc0dd6f41d62fe51386fe2b2c2ec5596653b48 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Sat, 25 Jul 2020 19:18:07 +0100 Subject: [PATCH] Fixed code style in examples --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 63d1a91..0b85269 100644 --- a/README.md +++ b/README.md @@ -41,11 +41,11 @@ Once you've set your `write_key` value in the configuration, you're ready to go! ```php Segment::identify([ - "userId" => "12345abcde", - "traits" => [ - "name" => "James Brooks", - "email" => "test@test.com", - ] + 'userId' => '12345abcde', + 'traits' => [ + 'name' => 'James Brooks', + 'email' => 'test@test.com', + ], ]); ``` @@ -53,11 +53,11 @@ Segment::identify([ ```php Segment::track([ - "userId" => "12345abcde", - "event" => "Did something", - "properties" => [ - "was_awesome" => true, - ] + 'userId' => '12345abcde', + 'event' => 'Did something', + 'properties' => [ + 'was_awesome' => true, + ], ]); ```