Skip to content

Commit

Permalink
Readme typo fix. (#18)
Browse files Browse the repository at this point in the history
hanlder => handler
  • Loading branch information
tomasz-adamczyk authored Apr 12, 2020
1 parent 8711aae commit 2e6fd92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ $handler = new SlackWebhookHandler($client, $requestFactory, 'your_webhook_url')

Now if you need to pass a custom slack formatter then you can to do the following:

`$hanlder->setFormatter($yourFormatter);`
`$handler->setFormatter($yourFormatter);`

- **Note-1:** The formatter passed inside the slack handler must be an instance of `SlackFormatterInterface`.
- **Note-2:** If you do not pass a custom Formatter SlackWebhookHandler uses the `SlackLineFormatter` by default.
Expand Down

0 comments on commit 2e6fd92

Please sign in to comment.