Skip to content

Commit fcfcf4b

Browse files
Merge pull request #4 from pschocke/master
Fixed minor readme errors
2 parents b17352a + c8fbc4a commit fcfcf4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ If you want to show an event at the exact time it is happening, for example, a t
173173
This package relies on the timezones provided by [PHP DateTime](https://www.php.net/manual/en/datetime.settimezone.php) if you want to include these timezones in an event you can do the following:
174174

175175
``` php
176-
$start = new DateTime('6 march 2019 15:00', new DateTimeZone('Europe/Brussels'))
176+
$starts = new DateTime('6 march 2019 15:00', new DateTimeZone('Europe/Brussels'))
177177

178178
Event::create()
179179
->startsAt($starts)
@@ -218,7 +218,7 @@ $calendar = Calendar::create('Laracon Online');
218218

219219
response($calendar->get())
220220
->header('Content-Type', 'text/calendar')
221-
->header('charset', 'utf-8');
221+
->header('charset', 'utf-8')
222222
->download('my-awesome-calendar.ics');
223223
```
224224

0 commit comments

Comments
 (0)