aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/vobject/lib/Component/VTimeZone.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-04-25 21:49:18 -0700
committerzotlabs <mike@macgirvin.com>2019-04-25 21:49:18 -0700
commite6521d1cf3166a888ad58b09059d9dc5746ad795 (patch)
tree6ab3e41d888f18b2dcad351f86c3ed0628eda307 /vendor/sabre/vobject/lib/Component/VTimeZone.php
parent96785e8df1b325a32c93ebebf67ab5208f4088dc (diff)
parentd689778465c0439d0ceae071dab2509e3f95403e (diff)
downloadvolse-hubzilla-e6521d1cf3166a888ad58b09059d9dc5746ad795.tar.gz
volse-hubzilla-e6521d1cf3166a888ad58b09059d9dc5746ad795.tar.bz2
volse-hubzilla-e6521d1cf3166a888ad58b09059d9dc5746ad795.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'vendor/sabre/vobject/lib/Component/VTimeZone.php')
-rw-r--r--vendor/sabre/vobject/lib/Component/VTimeZone.php19
1 files changed, 8 insertions, 11 deletions
diff --git a/vendor/sabre/vobject/lib/Component/VTimeZone.php b/vendor/sabre/vobject/lib/Component/VTimeZone.php
index f6eb6cba1..21c062377 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,10 +24,9 @@ class VTimeZone extends VObject\Component {
*
* @return \DateTimeZone
*/
- function getTimeZone() {
-
- return VObject\TimeZoneUtil::getTimeZone((string)$this->TZID, $this->root);
-
+ public function getTimeZone()
+ {
+ return VObject\TimeZoneUtil::getTimeZone((string) $this->TZID, $this->root);
}
/**
@@ -45,13 +44,13 @@ class VTimeZone extends VObject\Component {
*
* @var array
*/
- function getValidationRules() {
-
+ public function getValidationRules()
+ {
return [
'TZID' => 1,
'LAST-MODIFIED' => '?',
- 'TZURL' => '?',
+ 'TZURL' => '?',
// At least 1 STANDARD or DAYLIGHT must appear.
//
@@ -60,7 +59,5 @@ class VTimeZone extends VObject\Component {
'STANDARD' => '*',
'DAYLIGHT' => '*',
];
-
}
-
}