aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/vobject/lib/Property/VCard/Date.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-05-02 11:33:07 +0200
committerMax Kostikov <max@kostikov.co>2019-05-02 11:33:07 +0200
commit47fba5827bd106f53625b543f30643ca5ba1c16e (patch)
treebef05781eacc6dbc67d03899e0dde0257ce58096 /vendor/sabre/vobject/lib/Property/VCard/Date.php
parent47f75ad8bfbe8325a76ae6fe466aa8080fc87045 (diff)
parent516167c0f8579c8a068b6e52557e7e1109f897ae (diff)
downloadvolse-hubzilla-47fba5827bd106f53625b543f30643ca5ba1c16e.tar.gz
volse-hubzilla-47fba5827bd106f53625b543f30643ca5ba1c16e.tar.bz2
volse-hubzilla-47fba5827bd106f53625b543f30643ca5ba1c16e.zip
Merge branch 'dev' into 'dev'
# Conflicts: # Zotlabs/Lib/ThreadItem.php
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');
-
}
-
}