Skip to content

Commit 064f288

Browse files
authored
Merge pull request #300 from JHWelch/patch-1
README updates
2 parents 035e2f3 + f042d1c commit 064f288

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This package makes working with a Google Calendar a breeze. Once it has been set
1010
```php
1111
use Spatie\GoogleCalendar\Event;
1212

13-
//create a new event
13+
// create a new event
1414
$event = new Event;
1515

1616
$event->name = 'A new event';
@@ -74,7 +74,7 @@ php artisan vendor:publish --provider="Spatie\GoogleCalendar\GoogleCalendarServi
7474
```
7575

7676
This will publish a file called `google-calendar.php` in your config-directory with these contents:
77-
```
77+
```php
7878
return [
7979

8080
'default_auth_profile' => env('GOOGLE_CALENDAR_AUTH_PROFILE', 'service_account'),
@@ -108,7 +108,7 @@ return [
108108
],
109109

110110
/*
111-
* The id of the Google Calendar that will be used by default.
111+
* The id of the Google Calendar that will be used by default.
112112
*/
113113
'calendar_id' => env('GOOGLE_CALENDAR_ID'),
114114
];
@@ -285,7 +285,7 @@ $event->save();
285285
Alternatively, you can use the update method:
286286

287287
```php
288-
$event = Event::find($eventId)
288+
$event = Event::find($eventId);
289289

290290
$event->update(['name' => 'My updated title']);
291291
```
@@ -308,8 +308,8 @@ You can set source urls in your events, which are only visible to the creator of
308308
$yourEvent->source = [
309309
'title' => 'Test Source Title',
310310
'url' => 'http://testsource.url',
311-
];
312-
```
311+
];
312+
```
313313

314314
## Setting a color
315315

0 commit comments

Comments
 (0)