aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/dav/lib/DAV/TemporaryFileFilterPlugin.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-05-07 23:35:02 +0200
committerMario <mario@mariovavti.com>2020-05-07 23:35:02 +0200
commitfae70bf0a7f1b566d25e30064f60d58ab150951a (patch)
tree1714511edb85ed0e28034ed9371d5fc515504fd6 /vendor/sabre/dav/lib/DAV/TemporaryFileFilterPlugin.php
parentffd2faf8a09a870e8dbecb3ad168e0a9b25941d3 (diff)
downloadvolse-hubzilla-fae70bf0a7f1b566d25e30064f60d58ab150951a.tar.gz
volse-hubzilla-fae70bf0a7f1b566d25e30064f60d58ab150951a.tar.bz2
volse-hubzilla-fae70bf0a7f1b566d25e30064f60d58ab150951a.zip
Revert "composer updates"
This reverts commit dbfe748d274f6843fc91a3071df7be45c4ab5b00
Diffstat (limited to 'vendor/sabre/dav/lib/DAV/TemporaryFileFilterPlugin.php')
-rw-r--r--vendor/sabre/dav/lib/DAV/TemporaryFileFilterPlugin.php30
1 files changed, 22 insertions, 8 deletions
diff --git a/vendor/sabre/dav/lib/DAV/TemporaryFileFilterPlugin.php b/vendor/sabre/dav/lib/DAV/TemporaryFileFilterPlugin.php
index 9f8ec5b54..6cf772f44 100644
--- a/vendor/sabre/dav/lib/DAV/TemporaryFileFilterPlugin.php
+++ b/vendor/sabre/dav/lib/DAV/TemporaryFileFilterPlugin.php
@@ -90,6 +90,8 @@ class TemporaryFileFilterPlugin extends ServerPlugin
*
* This is called automatically be the Server class after this plugin is
* added with Sabre\DAV\Server::addPlugin()
+ *
+ * @param Server $server
*/
public function initialize(Server $server)
{
@@ -104,6 +106,9 @@ class TemporaryFileFilterPlugin extends ServerPlugin
* This method intercepts any GET, DELETE, PUT and PROPFIND calls to
* filenames that are known to match the 'temporary file' regex.
*
+ * @param RequestInterface $request
+ * @param ResponseInterface $response
+ *
* @return bool
*/
public function beforeMethod(RequestInterface $request, ResponseInterface $response)
@@ -132,10 +137,11 @@ class TemporaryFileFilterPlugin extends ServerPlugin
* This is used to deal with HTTP LOCK requests which create a new
* file.
*
- * @param string $uri
- * @param resource $data
- * @param bool $modified should be set to true, if this event handler
- * changed &$data
+ * @param string $uri
+ * @param resource $data
+ * @param ICollection $parent
+ * @param bool $modified should be set to true, if this event handler
+ * changed &$data
*
* @return bool
*/
@@ -184,7 +190,9 @@ class TemporaryFileFilterPlugin extends ServerPlugin
* If the file doesn't exist, it will return false which will kick in
* the regular system for the GET method.
*
- * @param string $tempLocation
+ * @param RequestInterface $request
+ * @param ResponseInterface $hR
+ * @param string $tempLocation
*
* @return bool
*/
@@ -206,7 +214,9 @@ class TemporaryFileFilterPlugin extends ServerPlugin
/**
* This method handles the PUT method.
*
- * @param string $tempLocation
+ * @param RequestInterface $request
+ * @param ResponseInterface $hR
+ * @param string $tempLocation
*
* @return bool
*/
@@ -232,7 +242,9 @@ class TemporaryFileFilterPlugin extends ServerPlugin
* If the file didn't exist, it will return false, which will make the
* standard HTTP DELETE handler kick in.
*
- * @param string $tempLocation
+ * @param RequestInterface $request
+ * @param ResponseInterface $hR
+ * @param string $tempLocation
*
* @return bool
*/
@@ -256,7 +268,9 @@ class TemporaryFileFilterPlugin extends ServerPlugin
* for which properties were requested, and just sends back a default
* set of properties.
*
- * @param string $tempLocation
+ * @param RequestInterface $request
+ * @param ResponseInterface $hR
+ * @param string $tempLocation
*
* @return bool
*/