summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-08 22:24:54 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-08 22:24:54 +0200
commit85e369cddb7b347cccd597ab2f65fc201632091d (patch)
tree862221861771a6fdb0394312f8af8a0b4d8c7abc /apps/dav
parentbbba7bc45acdbfb7d69edf7998db2cd8871682bd (diff)
downloadnextcloud-server-85e369cddb7b347cccd597ab2f65fc201632091d.tar.gz
nextcloud-server-85e369cddb7b347cccd597ab2f65fc201632091d.zip
Fix multiline comments
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/Connector/Sabre/FilesPlugin.php8
-rw-r--r--apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php4
2 files changed, 6 insertions, 6 deletions
diff --git a/apps/dav/lib/Connector/Sabre/FilesPlugin.php b/apps/dav/lib/Connector/Sabre/FilesPlugin.php
index fd432a21377..82f3c3b6ccd 100644
--- a/apps/dav/lib/Connector/Sabre/FilesPlugin.php
+++ b/apps/dav/lib/Connector/Sabre/FilesPlugin.php
@@ -299,10 +299,10 @@ class FilesPlugin extends ServerPlugin {
* so users were unable to navigate into folders where one subitem
* is blocked by the files_accesscontrol app, see:
* https://github.com/nextcloud/files_accesscontrol/issues/65
- if (!$node->getFileInfo()->isReadable()) {
- // avoid detecting files through this means
- throw new NotFound();
- }
+ * if (!$node->getFileInfo()->isReadable()) {
+ * // avoid detecting files through this means
+ * throw new NotFound();
+ * }
*/
$propFind->handle(self::FILEID_PROPERTYNAME, function() use ($node) {
diff --git a/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php b/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php
index 0f990cd8ca6..ebe5beb7275 100644
--- a/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php
+++ b/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php
@@ -221,8 +221,8 @@ class IMipPluginTest extends TestCase {
}
/**
- * @dataProvider dataIncludeResponseButtons
- */
+ * @dataProvider dataIncludeResponseButtons
+ */
public function testIncludeResponseButtons(string $config_setting, string $recipient, bool $has_buttons ) {
$message = $this->_testMessage([],$recipient);