aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/vobject/lib/Component
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-05-07 23:35:02 +0200
committerMario <mario@mariovavti.com>2020-05-07 23:35:02 +0200
commitfae70bf0a7f1b566d25e30064f60d58ab150951a (patch)
tree1714511edb85ed0e28034ed9371d5fc515504fd6 /vendor/sabre/vobject/lib/Component
parentffd2faf8a09a870e8dbecb3ad168e0a9b25941d3 (diff)
downloadvolse-hubzilla-fae70bf0a7f1b566d25e30064f60d58ab150951a.tar.gz
volse-hubzilla-fae70bf0a7f1b566d25e30064f60d58ab150951a.tar.bz2
volse-hubzilla-fae70bf0a7f1b566d25e30064f60d58ab150951a.zip
Revert "composer updates"
This reverts commit dbfe748d274f6843fc91a3071df7be45c4ab5b00
Diffstat (limited to 'vendor/sabre/vobject/lib/Component')
-rw-r--r--vendor/sabre/vobject/lib/Component/VAvailability.php3
-rw-r--r--vendor/sabre/vobject/lib/Component/VCalendar.php158
-rw-r--r--vendor/sabre/vobject/lib/Component/VCard.php135
-rw-r--r--vendor/sabre/vobject/lib/Component/VEvent.php5
-rw-r--r--vendor/sabre/vobject/lib/Component/VFreeBusy.php3
-rw-r--r--vendor/sabre/vobject/lib/Component/VJournal.php3
-rw-r--r--vendor/sabre/vobject/lib/Component/VTodo.php3
7 files changed, 163 insertions, 147 deletions
diff --git a/vendor/sabre/vobject/lib/Component/VAvailability.php b/vendor/sabre/vobject/lib/Component/VAvailability.php
index 04ec38dcb..6f3e7f13c 100644
--- a/vendor/sabre/vobject/lib/Component/VAvailability.php
+++ b/vendor/sabre/vobject/lib/Component/VAvailability.php
@@ -26,6 +26,9 @@ class VAvailability extends VObject\Component
*
* https://tools.ietf.org/html/draft-daboo-calendar-availability-05#section-3.1
*
+ * @param DateTimeInterface $start
+ * @param DateTimeInterface $end
+ *
* @return bool
*/
public function isInTimeRange(DateTimeInterface $start, DateTimeInterface $end)
diff --git a/vendor/sabre/vobject/lib/Component/VCalendar.php b/vendor/sabre/vobject/lib/Component/VCalendar.php
index 40e09a1c0..e21ae077a 100644
--- a/vendor/sabre/vobject/lib/Component/VCalendar.php
+++ b/vendor/sabre/vobject/lib/Component/VCalendar.php
@@ -37,15 +37,15 @@ class VCalendar extends VObject\Document
* @var array
*/
public static $componentMap = [
- 'VCALENDAR' => self::class,
- 'VALARM' => VAlarm::class,
- 'VEVENT' => VEvent::class,
- 'VFREEBUSY' => VFreeBusy::class,
- 'VAVAILABILITY' => VAvailability::class,
- 'AVAILABLE' => Available::class,
- 'VJOURNAL' => VJournal::class,
- 'VTIMEZONE' => VTimeZone::class,
- 'VTODO' => VTodo::class,
+ 'VCALENDAR' => 'Sabre\\VObject\\Component\\VCalendar',
+ 'VALARM' => 'Sabre\\VObject\\Component\\VAlarm',
+ 'VEVENT' => 'Sabre\\VObject\\Component\\VEvent',
+ 'VFREEBUSY' => 'Sabre\\VObject\\Component\\VFreeBusy',
+ 'VAVAILABILITY' => 'Sabre\\VObject\\Component\\VAvailability',
+ 'AVAILABLE' => 'Sabre\\VObject\\Component\\Available',
+ 'VJOURNAL' => 'Sabre\\VObject\\Component\\VJournal',
+ 'VTIMEZONE' => 'Sabre\\VObject\\Component\\VTimeZone',
+ 'VTODO' => 'Sabre\\VObject\\Component\\VTodo',
];
/**
@@ -54,21 +54,21 @@ class VCalendar extends VObject\Document
* @var array
*/
public static $valueMap = [
- 'BINARY' => VObject\Property\Binary::class,
- 'BOOLEAN' => VObject\Property\Boolean::class,
- 'CAL-ADDRESS' => VObject\Property\ICalendar\CalAddress::class,
- 'DATE' => VObject\Property\ICalendar\Date::class,
- 'DATE-TIME' => VObject\Property\ICalendar\DateTime::class,
- 'DURATION' => VObject\Property\ICalendar\Duration::class,
- 'FLOAT' => VObject\Property\FloatValue::class,
- 'INTEGER' => VObject\Property\IntegerValue::class,
- 'PERIOD' => VObject\Property\ICalendar\Period::class,
- 'RECUR' => VObject\Property\ICalendar\Recur::class,
- 'TEXT' => VObject\Property\Text::class,
- 'TIME' => VObject\Property\Time::class,
- 'UNKNOWN' => VObject\Property\Unknown::class, // jCard / jCal-only.
- 'URI' => VObject\Property\Uri::class,
- 'UTC-OFFSET' => VObject\Property\UtcOffset::class,
+ 'BINARY' => 'Sabre\\VObject\\Property\\Binary',
+ 'BOOLEAN' => 'Sabre\\VObject\\Property\\Boolean',
+ 'CAL-ADDRESS' => 'Sabre\\VObject\\Property\\ICalendar\\CalAddress',
+ 'DATE' => 'Sabre\\VObject\\Property\\ICalendar\\Date',
+ 'DATE-TIME' => 'Sabre\\VObject\\Property\\ICalendar\\DateTime',
+ 'DURATION' => 'Sabre\\VObject\\Property\\ICalendar\\Duration',
+ 'FLOAT' => 'Sabre\\VObject\\Property\\FloatValue',
+ 'INTEGER' => 'Sabre\\VObject\\Property\\IntegerValue',
+ 'PERIOD' => 'Sabre\\VObject\\Property\\ICalendar\\Period',
+ 'RECUR' => 'Sabre\\VObject\\Property\\ICalendar\\Recur',
+ 'TEXT' => 'Sabre\\VObject\\Property\\Text',
+ 'TIME' => 'Sabre\\VObject\\Property\\Time',
+ 'UNKNOWN' => 'Sabre\\VObject\\Property\\Unknown', // jCard / jCal-only.
+ 'URI' => 'Sabre\\VObject\\Property\\Uri',
+ 'UTC-OFFSET' => 'Sabre\\VObject\\Property\\UtcOffset',
];
/**
@@ -78,78 +78,78 @@ class VCalendar extends VObject\Document
*/
public static $propertyMap = [
// Calendar properties
- 'CALSCALE' => VObject\Property\FlatText::class,
- 'METHOD' => VObject\Property\FlatText::class,
- 'PRODID' => VObject\Property\FlatText::class,
- 'VERSION' => VObject\Property\FlatText::class,
+ 'CALSCALE' => 'Sabre\\VObject\\Property\\FlatText',
+ 'METHOD' => 'Sabre\\VObject\\Property\\FlatText',
+ 'PRODID' => 'Sabre\\VObject\\Property\\FlatText',
+ 'VERSION' => 'Sabre\\VObject\\Property\\FlatText',
// Component properties
- 'ATTACH' => VObject\Property\Uri::class,
- 'CATEGORIES' => VObject\Property\Text::class,
- 'CLASS' => VObject\Property\FlatText::class,
- 'COMMENT' => VObject\Property\FlatText::class,
- 'DESCRIPTION' => VObject\Property\FlatText::class,
- 'GEO' => VObject\Property\FloatValue::class,
- 'LOCATION' => VObject\Property\FlatText::class,
- 'PERCENT-COMPLETE' => VObject\Property\IntegerValue::class,
- 'PRIORITY' => VObject\Property\IntegerValue::class,
- 'RESOURCES' => VObject\Property\Text::class,
- 'STATUS' => VObject\Property\FlatText::class,
- 'SUMMARY' => VObject\Property\FlatText::class,
+ 'ATTACH' => 'Sabre\\VObject\\Property\\Uri',
+ 'CATEGORIES' => 'Sabre\\VObject\\Property\\Text',
+ 'CLASS' => 'Sabre\\VObject\\Property\\FlatText',
+ 'COMMENT' => 'Sabre\\VObject\\Property\\FlatText',
+ 'DESCRIPTION' => 'Sabre\\VObject\\Property\\FlatText',
+ 'GEO' => 'Sabre\\VObject\\Property\\FloatValue',
+ 'LOCATION' => 'Sabre\\VObject\\Property\\FlatText',
+ 'PERCENT-COMPLETE' => 'Sabre\\VObject\\Property\\IntegerValue',
+ 'PRIORITY' => 'Sabre\\VObject\\Property\\IntegerValue',
+ 'RESOURCES' => 'Sabre\\VObject\\Property\\Text',
+ 'STATUS' => 'Sabre\\VObject\\Property\\FlatText',
+ 'SUMMARY' => 'Sabre\\VObject\\Property\\FlatText',
// Date and Time Component Properties
- 'COMPLETED' => VObject\Property\ICalendar\DateTime::class,
- 'DTEND' => VObject\Property\ICalendar\DateTime::class,
- 'DUE' => VObject\Property\ICalendar\DateTime::class,
- 'DTSTART' => VObject\Property\ICalendar\DateTime::class,
- 'DURATION' => VObject\Property\ICalendar\Duration::class,
- 'FREEBUSY' => VObject\Property\ICalendar\Period::class,
- 'TRANSP' => VObject\Property\FlatText::class,
+ 'COMPLETED' => 'Sabre\\VObject\\Property\\ICalendar\\DateTime',
+ 'DTEND' => 'Sabre\\VObject\\Property\\ICalendar\\DateTime',
+ 'DUE' => 'Sabre\\VObject\\Property\\ICalendar\\DateTime',
+ 'DTSTART' => 'Sabre\\VObject\\Property\\ICalendar\\DateTime',
+ 'DURATION' => 'Sabre\\VObject\\Property\\ICalendar\\Duration',
+ 'FREEBUSY' => 'Sabre\\VObject\\Property\\ICalendar\\Period',
+ 'TRANSP' => 'Sabre\\VObject\\Property\\FlatText',
// Time Zone Component Properties
- 'TZID' => VObject\Property\FlatText::class,
- 'TZNAME' => VObject\Property\FlatText::class,
- 'TZOFFSETFROM' => VObject\Property\UtcOffset::class,
- 'TZOFFSETTO' => VObject\Property\UtcOffset::class,
- 'TZURL' => VObject\Property\Uri::class,
+ 'TZID' => 'Sabre\\VObject\\Property\\FlatText',
+ 'TZNAME' => 'Sabre\\VObject\\Property\\FlatText',
+ 'TZOFFSETFROM' => 'Sabre\\VObject\\Property\\UtcOffset',
+ 'TZOFFSETTO' => 'Sabre\\VObject\\Property\\UtcOffset',
+ 'TZURL' => 'Sabre\\VObject\\Property\\Uri',
// Relationship Component Properties
- 'ATTENDEE' => VObject\Property\ICalendar\CalAddress::class,
- 'CONTACT' => VObject\Property\FlatText::class,
- 'ORGANIZER' => VObject\Property\ICalendar\CalAddress::class,
- 'RECURRENCE-ID' => VObject\Property\ICalendar\DateTime::class,
- 'RELATED-TO' => VObject\Property\FlatText::class,
- 'URL' => VObject\Property\Uri::class,
- 'UID' => VObject\Property\FlatText::class,
+ 'ATTENDEE' => 'Sabre\\VObject\\Property\\ICalendar\\CalAddress',
+ 'CONTACT' => 'Sabre\\VObject\\Property\\FlatText',
+ 'ORGANIZER' => 'Sabre\\VObject\\Property\\ICalendar\\CalAddress',
+ 'RECURRENCE-ID' => 'Sabre\\VObject\\Property\\ICalendar\\DateTime',
+ 'RELATED-TO' => 'Sabre\\VObject\\Property\\FlatText',
+ 'URL' => 'Sabre\\VObject\\Property\\Uri',
+ 'UID' => 'Sabre\\VObject\\Property\\FlatText',
// Recurrence Component Properties
- 'EXDATE' => VObject\Property\ICalendar\DateTime::class,
- 'RDATE' => VObject\Property\ICalendar\DateTime::class,
- 'RRULE' => VObject\Property\ICalendar\Recur::class,
- 'EXRULE' => VObject\Property\ICalendar\Recur::class, // Deprecated since rfc5545
+ 'EXDATE' => 'Sabre\\VObject\\Property\\ICalendar\\DateTime',
+ 'RDATE' => 'Sabre\\VObject\\Property\\ICalendar\\DateTime',
+ 'RRULE' => 'Sabre\\VObject\\Property\\ICalendar\\Recur',
+ 'EXRULE' => 'Sabre\\VObject\\Property\\ICalendar\\Recur', // Deprecated since rfc5545
// Alarm Component Properties
- 'ACTION' => VObject\Property\FlatText::class,
- 'REPEAT' => VObject\Property\IntegerValue::class,
- 'TRIGGER' => VObject\Property\ICalendar\Duration::class,
+ 'ACTION' => 'Sabre\\VObject\\Property\\FlatText',
+ 'REPEAT' => 'Sabre\\VObject\\Property\\IntegerValue',
+ 'TRIGGER' => 'Sabre\\VObject\\Property\\ICalendar\\Duration',
// Change Management Component Properties
- 'CREATED' => VObject\Property\ICalendar\DateTime::class,
- 'DTSTAMP' => VObject\Property\ICalendar\DateTime::class,
- 'LAST-MODIFIED' => VObject\Property\ICalendar\DateTime::class,
- 'SEQUENCE' => VObject\Property\IntegerValue::class,
+ 'CREATED' => 'Sabre\\VObject\\Property\\ICalendar\\DateTime',
+ 'DTSTAMP' => 'Sabre\\VObject\\Property\\ICalendar\\DateTime',
+ 'LAST-MODIFIED' => 'Sabre\\VObject\\Property\\ICalendar\\DateTime',
+ 'SEQUENCE' => 'Sabre\\VObject\\Property\\IntegerValue',
// Request Status
- 'REQUEST-STATUS' => VObject\Property\Text::class,
+ 'REQUEST-STATUS' => 'Sabre\\VObject\\Property\\Text',
// Additions from draft-daboo-valarm-extensions-04
- 'ALARM-AGENT' => VObject\Property\Text::class,
- 'ACKNOWLEDGED' => VObject\Property\ICalendar\DateTime::class,
- 'PROXIMITY' => VObject\Property\Text::class,
- 'DEFAULT-ALARM' => VObject\Property\Boolean::class,
+ 'ALARM-AGENT' => 'Sabre\\VObject\\Property\\Text',
+ 'ACKNOWLEDGED' => 'Sabre\\VObject\\Property\\ICalendar\\DateTime',
+ 'PROXIMITY' => 'Sabre\\VObject\\Property\\Text',
+ 'DEFAULT-ALARM' => 'Sabre\\VObject\\Property\\Boolean',
// Additions from draft-daboo-calendar-availability-05
- 'BUSYTYPE' => VObject\Property\Text::class,
+ 'BUSYTYPE' => 'Sabre\\VObject\\Property\\Text',
];
/**
@@ -276,8 +276,10 @@ class VCalendar extends VObject\Document
* In addition, this method will cause timezone information to be stripped,
* and normalized to UTC.
*
- * @param DateTimeZone $timeZone reference timezone for floating dates and
- * times
+ * @param DateTimeInterface $start
+ * @param DateTimeInterface $end
+ * @param DateTimeZone $timeZone reference timezone for floating dates and
+ * times
*
* @return VCalendar
*/
diff --git a/vendor/sabre/vobject/lib/Component/VCard.php b/vendor/sabre/vobject/lib/Component/VCard.php
index 51321949f..860e45ffa 100644
--- a/vendor/sabre/vobject/lib/Component/VCard.php
+++ b/vendor/sabre/vobject/lib/Component/VCard.php
@@ -39,7 +39,7 @@ class VCard extends VObject\Document
* @var array
*/
public static $componentMap = [
- 'VCARD' => VCard::class,
+ 'VCARD' => 'Sabre\\VObject\\Component\\VCard',
];
/**
@@ -48,23 +48,22 @@ class VCard extends VObject\Document
* @var array
*/
public static $valueMap = [
- 'BINARY' => VObject\Property\Binary::class,
- 'BOOLEAN' => VObject\Property\Boolean::class,
- 'CONTENT-ID' => VObject\Property\FlatText::class, // vCard 2.1 only
- 'DATE' => VObject\Property\VCard\Date::class,
- 'DATE-TIME' => VObject\Property\VCard\DateTime::class,
- 'DATE-AND-OR-TIME' => VObject\Property\VCard\DateAndOrTime::class, // vCard only
- 'FLOAT' => VObject\Property\FloatValue::class,
- 'INTEGER' => VObject\Property\IntegerValue::class,
- 'LANGUAGE-TAG' => VObject\Property\VCard\LanguageTag::class,
- 'PHONE-NUMBER' => VObject\Property\VCard\PhoneNumber::class, // vCard 3.0 only
- 'TIMESTAMP' => VObject\Property\VCard\TimeStamp::class,
- 'TEXT' => VObject\Property\Text::class,
- 'TIME' => VObject\Property\Time::class,
- 'UNKNOWN' => VObject\Property\Unknown::class, // jCard / jCal-only.
- 'URI' => VObject\Property\Uri::class,
- 'URL' => VObject\Property\Uri::class, // vCard 2.1 only
- 'UTC-OFFSET' => VObject\Property\UtcOffset::class,
+ 'BINARY' => 'Sabre\\VObject\\Property\\Binary',
+ 'BOOLEAN' => 'Sabre\\VObject\\Property\\Boolean',
+ 'CONTENT-ID' => 'Sabre\\VObject\\Property\\FlatText', // vCard 2.1 only
+ 'DATE' => 'Sabre\\VObject\\Property\\VCard\\Date',
+ 'DATE-TIME' => 'Sabre\\VObject\\Property\\VCard\\DateTime',
+ 'DATE-AND-OR-TIME' => 'Sabre\\VObject\\Property\\VCard\\DateAndOrTime', // vCard only
+ 'FLOAT' => 'Sabre\\VObject\\Property\\FloatValue',
+ 'INTEGER' => 'Sabre\\VObject\\Property\\IntegerValue',
+ 'LANGUAGE-TAG' => 'Sabre\\VObject\\Property\\VCard\\LanguageTag',
+ 'TIMESTAMP' => 'Sabre\\VObject\\Property\\VCard\\TimeStamp',
+ 'TEXT' => 'Sabre\\VObject\\Property\\Text',
+ 'TIME' => 'Sabre\\VObject\\Property\\Time',
+ 'UNKNOWN' => 'Sabre\\VObject\\Property\\Unknown', // jCard / jCal-only.
+ 'URI' => 'Sabre\\VObject\\Property\\Uri',
+ 'URL' => 'Sabre\\VObject\\Property\\Uri', // vCard 2.1 only
+ 'UTC-OFFSET' => 'Sabre\\VObject\\Property\\UtcOffset',
];
/**
@@ -74,68 +73,68 @@ class VCard extends VObject\Document
*/
public static $propertyMap = [
// vCard 2.1 properties and up
- 'N' => VObject\Property\Text::class,
- 'FN' => VObject\Property\FlatText::class,
- 'PHOTO' => VObject\Property\Binary::class,
- 'BDAY' => VObject\Property\VCard\DateAndOrTime::class,
- 'ADR' => VObject\Property\Text::class,
- 'LABEL' => VObject\Property\FlatText::class, // Removed in vCard 4.0
- 'TEL' => VObject\Property\FlatText::class,
- 'EMAIL' => VObject\Property\FlatText::class,
- 'MAILER' => VObject\Property\FlatText::class, // Removed in vCard 4.0
- 'GEO' => VObject\Property\FlatText::class,
- 'TITLE' => VObject\Property\FlatText::class,
- 'ROLE' => VObject\Property\FlatText::class,
- 'LOGO' => VObject\Property\Binary::class,
+ 'N' => 'Sabre\\VObject\\Property\\Text',
+ 'FN' => 'Sabre\\VObject\\Property\\FlatText',
+ 'PHOTO' => 'Sabre\\VObject\\Property\\Binary',
+ 'BDAY' => 'Sabre\\VObject\\Property\\VCard\\DateAndOrTime',
+ 'ADR' => 'Sabre\\VObject\\Property\\Text',
+ 'LABEL' => 'Sabre\\VObject\\Property\\FlatText', // Removed in vCard 4.0
+ 'TEL' => 'Sabre\\VObject\\Property\\FlatText',
+ 'EMAIL' => 'Sabre\\VObject\\Property\\FlatText',
+ 'MAILER' => 'Sabre\\VObject\\Property\\FlatText', // Removed in vCard 4.0
+ 'GEO' => 'Sabre\\VObject\\Property\\FlatText',
+ 'TITLE' => 'Sabre\\VObject\\Property\\FlatText',
+ 'ROLE' => 'Sabre\\VObject\\Property\\FlatText',
+ 'LOGO' => 'Sabre\\VObject\\Property\\Binary',
// 'AGENT' => 'Sabre\\VObject\\Property\\', // Todo: is an embedded vCard. Probably rare, so
// not supported at the moment
- 'ORG' => VObject\Property\Text::class,
- 'NOTE' => VObject\Property\FlatText::class,
- 'REV' => VObject\Property\VCard\TimeStamp::class,
- 'SOUND' => VObject\Property\FlatText::class,
- 'URL' => VObject\Property\Uri::class,
- 'UID' => VObject\Property\FlatText::class,
- 'VERSION' => VObject\Property\FlatText::class,
- 'KEY' => VObject\Property\FlatText::class,
- 'TZ' => VObject\Property\Text::class,
+ 'ORG' => 'Sabre\\VObject\\Property\\Text',
+ 'NOTE' => 'Sabre\\VObject\\Property\\FlatText',
+ 'REV' => 'Sabre\\VObject\\Property\\VCard\\TimeStamp',
+ 'SOUND' => 'Sabre\\VObject\\Property\\FlatText',
+ 'URL' => 'Sabre\\VObject\\Property\\Uri',
+ 'UID' => 'Sabre\\VObject\\Property\\FlatText',
+ 'VERSION' => 'Sabre\\VObject\\Property\\FlatText',
+ 'KEY' => 'Sabre\\VObject\\Property\\FlatText',
+ 'TZ' => 'Sabre\\VObject\\Property\\Text',
// vCard 3.0 properties
- 'CATEGORIES' => VObject\Property\Text::class,
- 'SORT-STRING' => VObject\Property\FlatText::class,
- 'PRODID' => VObject\Property\FlatText::class,
- 'NICKNAME' => VObject\Property\Text::class,
- 'CLASS' => VObject\Property\FlatText::class, // Removed in vCard 4.0
+ 'CATEGORIES' => 'Sabre\\VObject\\Property\\Text',
+ 'SORT-STRING' => 'Sabre\\VObject\\Property\\FlatText',
+ 'PRODID' => 'Sabre\\VObject\\Property\\FlatText',
+ 'NICKNAME' => 'Sabre\\VObject\\Property\\Text',
+ 'CLASS' => 'Sabre\\VObject\\Property\\FlatText', // Removed in vCard 4.0
// rfc2739 properties
- 'FBURL' => VObject\Property\Uri::class,
- 'CAPURI' => VObject\Property\Uri::class,
- 'CALURI' => VObject\Property\Uri::class,
- 'CALADRURI' => VObject\Property\Uri::class,
+ 'FBURL' => 'Sabre\\VObject\\Property\\Uri',
+ 'CAPURI' => 'Sabre\\VObject\\Property\\Uri',
+ 'CALURI' => 'Sabre\\VObject\\Property\\Uri',
+ 'CALADRURI' => 'Sabre\\VObject\\Property\\Uri',
// rfc4770 properties
- 'IMPP' => VObject\Property\Uri::class,
+ 'IMPP' => 'Sabre\\VObject\\Property\\Uri',
// vCard 4.0 properties
- 'SOURCE' => VObject\Property\Uri::class,
- 'XML' => VObject\Property\FlatText::class,
- 'ANNIVERSARY' => VObject\Property\VCard\DateAndOrTime::class,
- 'CLIENTPIDMAP' => VObject\Property\Text::class,
- 'LANG' => VObject\Property\VCard\LanguageTag::class,
- 'GENDER' => VObject\Property\Text::class,
- 'KIND' => VObject\Property\FlatText::class,
- 'MEMBER' => VObject\Property\Uri::class,
- 'RELATED' => VObject\Property\Uri::class,
+ 'SOURCE' => 'Sabre\\VObject\\Property\\Uri',
+ 'XML' => 'Sabre\\VObject\\Property\\FlatText',
+ 'ANNIVERSARY' => 'Sabre\\VObject\\Property\\VCard\\DateAndOrTime',
+ 'CLIENTPIDMAP' => 'Sabre\\VObject\\Property\\Text',
+ 'LANG' => 'Sabre\\VObject\\Property\\VCard\\LanguageTag',
+ 'GENDER' => 'Sabre\\VObject\\Property\\Text',
+ 'KIND' => 'Sabre\\VObject\\Property\\FlatText',
+ 'MEMBER' => 'Sabre\\VObject\\Property\\Uri',
+ 'RELATED' => 'Sabre\\VObject\\Property\\Uri',
// rfc6474 properties
- 'BIRTHPLACE' => VObject\Property\FlatText::class,
- 'DEATHPLACE' => VObject\Property\FlatText::class,
- 'DEATHDATE' => VObject\Property\VCard\DateAndOrTime::class,
+ 'BIRTHPLACE' => 'Sabre\\VObject\\Property\\FlatText',
+ 'DEATHPLACE' => 'Sabre\\VObject\\Property\\FlatText',
+ 'DEATHDATE' => 'Sabre\\VObject\\Property\\VCard\\DateAndOrTime',
// rfc6715 properties
- 'EXPERTISE' => VObject\Property\FlatText::class,
- 'HOBBY' => VObject\Property\FlatText::class,
- 'INTEREST' => VObject\Property\FlatText::class,
- 'ORG-DIRECTORY' => VObject\Property\FlatText::class,
+ 'EXPERTISE' => 'Sabre\\VObject\\Property\\FlatText',
+ 'HOBBY' => 'Sabre\\VObject\\Property\\FlatText',
+ 'INTEREST' => 'Sabre\\VObject\\Property\\FlatText',
+ 'ORG-DIRECTORY' => 'Sabre\\VObject\\Property\\FlatText',
];
/**
@@ -526,8 +525,8 @@ class VCard extends VObject\Document
$className = parent::getClassNameForPropertyName($propertyName);
// In vCard 4, BINARY no longer exists, and we need URI instead.
- if (VObject\Property\Binary::class == $className && self::VCARD40 === $this->getDocumentType()) {
- return VObject\Property\Uri::class;
+ if ('Sabre\\VObject\\Property\\Binary' == $className && self::VCARD40 === $this->getDocumentType()) {
+ return 'Sabre\\VObject\\Property\\Uri';
}
return $className;
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;
}
diff --git a/vendor/sabre/vobject/lib/Component/VFreeBusy.php b/vendor/sabre/vobject/lib/Component/VFreeBusy.php
index fef418b53..558a85233 100644
--- a/vendor/sabre/vobject/lib/Component/VFreeBusy.php
+++ b/vendor/sabre/vobject/lib/Component/VFreeBusy.php
@@ -21,6 +21,9 @@ class VFreeBusy extends VObject\Component
* Checks based on the contained FREEBUSY information, if a timeslot is
* available.
*
+ * @param DateTimeInterface $start
+ * @param DateTimeInterface $end
+ *
* @return bool
*/
public function isFree(DateTimeInterface $start, DatetimeInterface $end)
diff --git a/vendor/sabre/vobject/lib/Component/VJournal.php b/vendor/sabre/vobject/lib/Component/VJournal.php
index 9b7f1b873..9bd336776 100644
--- a/vendor/sabre/vobject/lib/Component/VJournal.php
+++ b/vendor/sabre/vobject/lib/Component/VJournal.php
@@ -23,6 +23,9 @@ class VJournal 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)
diff --git a/vendor/sabre/vobject/lib/Component/VTodo.php b/vendor/sabre/vobject/lib/Component/VTodo.php
index 6f022ba6d..9de77e841 100644
--- a/vendor/sabre/vobject/lib/Component/VTodo.php
+++ b/vendor/sabre/vobject/lib/Component/VTodo.php
@@ -23,6 +23,9 @@ class VTodo 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)