aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/vobject/lib/Property/ICalendar/CalAddress.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-04-25 11:24:09 +0200
committerMario <mario@mariovavti.com>2019-04-25 11:24:09 +0200
commitf1c07977809ce3221286d53e99f0d91145b1166f (patch)
tree4c067a3b701ea56f10070c386b26a30f93666eb0 /vendor/sabre/vobject/lib/Property/ICalendar/CalAddress.php
parent701167bc125700efb3e6ce759b85bcb4d36ee42e (diff)
downloadvolse-hubzilla-f1c07977809ce3221286d53e99f0d91145b1166f.tar.gz
volse-hubzilla-f1c07977809ce3221286d53e99f0d91145b1166f.tar.bz2
volse-hubzilla-f1c07977809ce3221286d53e99f0d91145b1166f.zip
Revert "update composer libs"
This reverts commit e779335d060b3a51d6a144d23af4097ae6801473
Diffstat (limited to 'vendor/sabre/vobject/lib/Property/ICalendar/CalAddress.php')
-rw-r--r--vendor/sabre/vobject/lib/Property/ICalendar/CalAddress.php15
1 files changed, 8 insertions, 7 deletions
diff --git a/vendor/sabre/vobject/lib/Property/ICalendar/CalAddress.php b/vendor/sabre/vobject/lib/Property/ICalendar/CalAddress.php
index e89bb31f9..a0c4a9b9a 100644
--- a/vendor/sabre/vobject/lib/Property/ICalendar/CalAddress.php
+++ b/vendor/sabre/vobject/lib/Property/ICalendar/CalAddress.php
@@ -14,8 +14,8 @@ use
* @author Evert Pot (http://evertpot.com/)
* @license http://sabre.io/license/ Modified BSD License
*/
-class CalAddress extends Text
-{
+class CalAddress extends Text {
+
/**
* In case this is a multi-value property. This string will be used as a
* delimiter.
@@ -32,9 +32,10 @@ class CalAddress extends Text
*
* @return string
*/
- public function getValueType()
- {
+ function getValueType() {
+
return 'CAL-ADDRESS';
+
}
/**
@@ -47,14 +48,14 @@ class CalAddress extends Text
*
* @return string
*/
- public function getNormalizedValue()
- {
+ function getNormalizedValue() {
+
$input = $this->getValue();
if (!strpos($input, ':')) {
return $input;
}
list($schema, $everythingElse) = explode(':', $input, 2);
+ return strtolower($schema) . ':' . $everythingElse;
- return strtolower($schema).':'.$everythingElse;
}
}