aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/vobject/lib/Property/ICalendar/CalAddress.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-04-25 08:52:50 +0200
committerMario Vavti <mario@mariovavti.com>2019-04-25 08:52:50 +0200
commite779335d060b3a51d6a144d23af4097ae6801473 (patch)
tree2427765313f715a0e5b48228abe5200cb82b787f /vendor/sabre/vobject/lib/Property/ICalendar/CalAddress.php
parente937e8fff96a935b14a479c062f6b0d00b90b99d (diff)
downloadvolse-hubzilla-e779335d060b3a51d6a144d23af4097ae6801473.tar.gz
volse-hubzilla-e779335d060b3a51d6a144d23af4097ae6801473.tar.bz2
volse-hubzilla-e779335d060b3a51d6a144d23af4097ae6801473.zip
update composer libs
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, 7 insertions, 8 deletions
diff --git a/vendor/sabre/vobject/lib/Property/ICalendar/CalAddress.php b/vendor/sabre/vobject/lib/Property/ICalendar/CalAddress.php
index a0c4a9b9a..e89bb31f9 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,10 +32,9 @@ class CalAddress extends Text {
*
* @return string
*/
- function getValueType() {
-
+ public function getValueType()
+ {
return 'CAL-ADDRESS';
-
}
/**
@@ -48,14 +47,14 @@ class CalAddress extends Text {
*
* @return string
*/
- function getNormalizedValue() {
-
+ public function getNormalizedValue()
+ {
$input = $this->getValue();
if (!strpos($input, ':')) {
return $input;
}
list($schema, $everythingElse) = explode(':', $input, 2);
- return strtolower($schema) . ':' . $everythingElse;
+ return strtolower($schema).':'.$everythingElse;
}
}