Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

Commit

Permalink
Fixed code style in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell authored Jul 25, 2020
1 parent b3f84b5 commit 32dc0dd
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,23 +41,23 @@ 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" => "[email protected]",
]
'userId' => '12345abcde',
'traits' => [
'name' => 'James Brooks',
'email' => '[email protected]',
],
]);
```

### Track actions

```php
Segment::track([
"userId" => "12345abcde",
"event" => "Did something",
"properties" => [
"was_awesome" => true,
]
'userId' => '12345abcde',
'event' => 'Did something',
'properties' => [
'was_awesome' => true,
],
]);
```

Expand Down

0 comments on commit 32dc0dd

Please sign in to comment.