Skip to content

Commit 862056c

Browse files
author
Christoph Rumpel
authored
Merge pull request #55 from christophrumpel/feature/readmeTypos
Fix typos/grammar
2 parents 370469b + 451ce00 commit 862056c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This package makes it easy to send notifications using [Twitter](https://dev.twi
1919
- [Usage](#usage)
2020
- [Publish Twitter status update](#publish-twitter-status-update)
2121
- [Publish Twitter status update with images](#publish-twitter-status-update-with-images)
22-
- [Send a direct message](#send-a-direct-message)
22+
- [Send a direct message](#send-a-direct-message)
2323
- [Handle multiple Twitter Accounts](#handle-multiple-twitter-accounts)
2424
- [Changelog](#changelog)
2525
- [Testing](#testing)
@@ -48,7 +48,7 @@ The service provider gets loaded automatically.
4848

4949
### Setting up the Twitter service
5050

51-
You will need to [create](https://developer.twitter.com/apps/) a Twitter app to use this channel. Within in this app, you will find the `keys and access tokens`. Place them inside your `.env` file. To load them, add this to your `config/services.php` file:
51+
You will need to [create](https://developer.twitter.com/apps/) a Twitter app to use this channel. Within this app, you will find the `keys and access tokens`. Place them inside your `.env` file. To load them, add this to your `config/services.php` file:
5252

5353
```php
5454
...
@@ -67,7 +67,7 @@ This will load the Twitter app data from the `.env` file. Make sure to use the s
6767

6868
To use this package, you need to create a notification class, like `NewsWasPublished` from the example below, in your Laravel application. Make sure to check out [Laravel's documentation](https://laravel.com/docs/master/notifications) for this process.
6969

70-
### Publish Twitter status update
70+
### Publish a Twitter status update
7171

7272
```php
7373
<?php
@@ -138,23 +138,23 @@ public function toTwitter($notifiable)
138138

139139
## Handle multiple Twitter Accounts
140140

141-
There might be cases where you need handle multiple Twitter accounts. This means you need to be able to change the provided keys and tokens of your Twitter app. Luckily, [Laravel](https://laravel.com/docs/master/notifications#customizing-the-recipient) can help you here. In your notifiable model, you can define the `routeNotifiactionForTwitter` method. Here you can override the provided settings.
141+
There might be cases where you need to handle multiple Twitter accounts. This means you need to be able to change the provided keys and tokens of your Twitter app. Luckily, [Laravel](https://laravel.com/docs/master/notifications#customizing-the-recipient) can help you here. In your notifiable model, you can define the `routeNotifiactionForTwitter` method. Here you can override the provided settings.
142142

143143
````php
144144
public function routeNotificationForTwitter($notification)
145145
{
146-
return [
147-
'TWITTER_CONSUMER_KEY',
148-
'TWITTER_CONSUMER_SECRET',
149-
'TWITTER_ACCESS_TOKEN',
150-
'TWITTER_ACCESS_SECRET',
151-
];
146+
return [
147+
'TWITTER_CONSUMER_KEY',
148+
'TWITTER_CONSUMER_SECRET',
149+
'TWITTER_ACCESS_TOKEN',
150+
'TWITTER_ACCESS_SECRET',
151+
];
152152
}
153153
````
154154

155155
## Changelog
156156

157-
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
157+
Please see [CHANGELOG](CHANGELOG.md) for more information about what has changed recently.
158158

159159
## Testing
160160

0 commit comments

Comments
 (0)