diff options
author | Mario <mario@mariovavti.com> | 2019-04-25 11:24:09 +0200 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2019-04-25 11:24:09 +0200 |
commit | f1c07977809ce3221286d53e99f0d91145b1166f (patch) | |
tree | 4c067a3b701ea56f10070c386b26a30f93666eb0 /vendor/sabre/vobject/lib/Component/VTimeZone.php | |
parent | 701167bc125700efb3e6ce759b85bcb4d36ee42e (diff) | |
download | volse-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/Component/VTimeZone.php')
-rw-r--r-- | vendor/sabre/vobject/lib/Component/VTimeZone.php | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/vendor/sabre/vobject/lib/Component/VTimeZone.php b/vendor/sabre/vobject/lib/Component/VTimeZone.php index 21c062377..f6eb6cba1 100644 --- a/vendor/sabre/vobject/lib/Component/VTimeZone.php +++ b/vendor/sabre/vobject/lib/Component/VTimeZone.php @@ -14,8 +14,8 @@ use Sabre\VObject; * @author Evert Pot (http://evertpot.com/) * @license http://sabre.io/license/ Modified BSD License */ -class VTimeZone extends VObject\Component -{ +class VTimeZone extends VObject\Component { + /** * Returns the PHP DateTimeZone for this VTIMEZONE component. * @@ -24,9 +24,10 @@ class VTimeZone extends VObject\Component * * @return \DateTimeZone */ - public function getTimeZone() - { - return VObject\TimeZoneUtil::getTimeZone((string) $this->TZID, $this->root); + function getTimeZone() { + + return VObject\TimeZoneUtil::getTimeZone((string)$this->TZID, $this->root); + } /** @@ -44,13 +45,13 @@ class VTimeZone extends VObject\Component * * @var array */ - public function getValidationRules() - { + function getValidationRules() { + return [ 'TZID' => 1, 'LAST-MODIFIED' => '?', - 'TZURL' => '?', + 'TZURL' => '?', // At least 1 STANDARD or DAYLIGHT must appear. // @@ -59,5 +60,7 @@ class VTimeZone extends VObject\Component 'STANDARD' => '*', 'DAYLIGHT' => '*', ]; + } + } |