Skip to content

Commit bc32809

Browse files
committed
Fixed typo and string builder
1 parent 1bda851 commit bc32809

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/DataTypes/Calendar.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,16 +103,16 @@ protected function buildCalendarString()
103103
$calendar .= "SUMMARY:".$this->summary.$this->separator;
104104
}
105105
if (isset($this->location)) {
106-
$calendar .= 'LOCATION:'.$this->location.$this->separator;
106+
$calendar .= "LOCATION:".$this->location.$this->separator;
107107
}
108108
if (isset($this->url)) {
109-
$calendar .= 'URL:'.$this->url.$this->separator;
109+
$calendar .= "URL:".$this->url.$this->separator;
110110
}
111111
if (isset($this->startDateTime)) {
112-
$calendar .= 'DTSTART:'.$this->convertEventDateTimeToString($this->startDateTime).$this->separator;
112+
$calendar .= "DTSTART:".$this->convertEventDateTimeToString($this->startDateTime).$this->separator;
113113
}
114114
if (isset($this->endDateTime)) {
115-
$calendar .= 'DTEND:'.$this->convertEventDateTimeToString($this->endDateTime).$this->separator;
115+
$calendar .= "DTEND:".$this->convertEventDateTimeToString($this->endDateTime).$this->separator;
116116
}
117117

118118
$calendar .= $this->suffix;
@@ -141,7 +141,7 @@ protected function setProperties(array $arguments)
141141
$this->setEventDateTime($arguments['start_date_time'], "start");
142142
}
143143
if (isset($arguments['end_date_time'])) {
144-
$this->setEventDateTime($arguments['start_date_time'], "end");
144+
$this->setEventDateTime($arguments['end_date_time'], "end");
145145
}
146146
}
147147

0 commit comments

Comments
 (0)