aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/vobject/lib/Component/VEvent.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sabre/vobject/lib/Component/VEvent.php')
-rw-r--r--vendor/sabre/vobject/lib/Component/VEvent.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/vendor/sabre/vobject/lib/Component/VEvent.php b/vendor/sabre/vobject/lib/Component/VEvent.php
index 6ea93ed5e..09f37033c 100644
--- a/vendor/sabre/vobject/lib/Component/VEvent.php
+++ b/vendor/sabre/vobject/lib/Component/VEvent.php
@@ -25,6 +25,9 @@ class VEvent extends VObject\Component
* The rules used to determine if an event falls within the specified
* time-range is based on the CalDAV specification.
*
+ * @param DateTimeInterface $start
+ * @param DateTimeInterface $end
+ *
* @return bool
*/
public function isInTimeRange(DateTimeInterface $start, DateTimeInterface $end)
@@ -33,7 +36,7 @@ class VEvent extends VObject\Component
try {
$it = new EventIterator($this, null, $start->getTimezone());
} catch (NoInstancesException $e) {
- // If we've caught this exception, there are no instances
+ // If we've catched this exception, there are no instances
// for the event that fall into the specified time-range.
return false;
}