summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 16:51:06 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 16:51:06 +0200
commit1584c9ae9c23d2a7915750ef9203cba0bcebf766 (patch)
tree568db931f631afd6e96772cf2b3ac539c989ec42 /apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php
parenta7c8d26d31cb1cf69e0e060c53622e545fcfbbb3 (diff)
downloadnextcloud-server-1584c9ae9c23d2a7915750ef9203cba0bcebf766.tar.gz
nextcloud-server-1584c9ae9c23d2a7915750ef9203cba0bcebf766.zip
Add visibility to all methods and position of static keyword
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php')
-rw-r--r--apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php b/apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php
index 2a750c5a32b..4314e0dcdd1 100644
--- a/apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php
+++ b/apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php
@@ -43,7 +43,7 @@ class Publisher implements XmlSerializable {
* @param string $publishUrl
* @param boolean $isPublished
*/
- function __construct($publishUrl, $isPublished) {
+ public function __construct($publishUrl, $isPublished) {
$this->publishUrl = $publishUrl;
$this->isPublished = $isPublished;
}
@@ -51,7 +51,7 @@ class Publisher implements XmlSerializable {
/**
* @return string
*/
- function getValue() {
+ public function getValue() {
return $this->publishUrl;
}
@@ -74,7 +74,7 @@ class Publisher implements XmlSerializable {
* @param Writer $writer
* @return void
*/
- function xmlSerialize(Writer $writer) {
+ public function xmlSerialize(Writer $writer) {
if (!$this->isPublished) {
// for pre-publish-url
$writer->write($this->publishUrl);