aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/vobject/lib/Property/VCard/Date.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-04-25 11:47:18 +0200
committerMario Vavti <mario@mariovavti.com>2019-04-25 11:47:18 +0200
commita60c2f38c689f254bd8bb8e7ea9af78bf21c1f84 (patch)
tree65d1d73918ccb1d4ccc36184d70af2e8dd91f28e /vendor/sabre/vobject/lib/Property/VCard/Date.php
parentf1c07977809ce3221286d53e99f0d91145b1166f (diff)
downloadvolse-hubzilla-a60c2f38c689f254bd8bb8e7ea9af78bf21c1f84.tar.gz
volse-hubzilla-a60c2f38c689f254bd8bb8e7ea9af78bf21c1f84.tar.bz2
volse-hubzilla-a60c2f38c689f254bd8bb8e7ea9af78bf21c1f84.zip
update sabre/vobject
Diffstat (limited to 'vendor/sabre/vobject/lib/Property/VCard/Date.php')
-rw-r--r--vendor/sabre/vobject/lib/Property/VCard/Date.php17
1 files changed, 6 insertions, 11 deletions
diff --git a/vendor/sabre/vobject/lib/Property/VCard/Date.php b/vendor/sabre/vobject/lib/Property/VCard/Date.php
index 1ef6dff34..a018ccbb8 100644
--- a/vendor/sabre/vobject/lib/Property/VCard/Date.php
+++ b/vendor/sabre/vobject/lib/Property/VCard/Date.php
@@ -11,8 +11,8 @@ namespace Sabre\VObject\Property\VCard;
* @author Evert Pot (http://evertpot.com/)
* @license http://sabre.io/license/ Modified BSD License
*/
-class Date extends DateAndOrTime {
-
+class Date extends DateAndOrTime
+{
/**
* Returns the type of value.
*
@@ -21,23 +21,18 @@ class Date extends DateAndOrTime {
*
* @return string
*/
- function getValueType() {
-
+ public function getValueType()
+ {
return 'DATE';
-
}
/**
* Sets the property as a DateTime object.
*
* @param \DateTimeInterface $dt
- *
- * @return void
*/
- function setDateTime(\DateTimeInterface $dt) {
-
+ public function setDateTime(\DateTimeInterface $dt)
+ {
$this->value = $dt->format('Ymd');
-
}
-
}