summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Files/Sharing/PublicLinkCheckPlugin.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 13:53:40 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 13:54:22 +0200
commitafbd9c4e6ed834e713039f2cff88ba3eec03dadb (patch)
tree7d8721cf8fc0329d6b750db63798de67a162b090 /apps/dav/lib/Files/Sharing/PublicLinkCheckPlugin.php
parent19e97e86c69ab128191439d6a17dacb5a630cf98 (diff)
downloadnextcloud-server-afbd9c4e6ed834e713039f2cff88ba3eec03dadb.tar.gz
nextcloud-server-afbd9c4e6ed834e713039f2cff88ba3eec03dadb.zip
Unify function spacing to PSR2 recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/dav/lib/Files/Sharing/PublicLinkCheckPlugin.php')
-rw-r--r--apps/dav/lib/Files/Sharing/PublicLinkCheckPlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Files/Sharing/PublicLinkCheckPlugin.php b/apps/dav/lib/Files/Sharing/PublicLinkCheckPlugin.php
index eaa3d78b66d..60e11884765 100644
--- a/apps/dav/lib/Files/Sharing/PublicLinkCheckPlugin.php
+++ b/apps/dav/lib/Files/Sharing/PublicLinkCheckPlugin.php
@@ -56,7 +56,7 @@ class PublicLinkCheckPlugin extends ServerPlugin {
$server->on('beforeMethod:*', [$this, 'beforeMethod']);
}
- public function beforeMethod(RequestInterface $request, ResponseInterface $response){
+ public function beforeMethod(RequestInterface $request, ResponseInterface $response) {
// verify that the owner didn't have his share permissions revoked
if ($this->fileInfo && !$this->fileInfo->isShareable()) {
throw new NotFound();