diff options
Diffstat (limited to 'vendor/sabre/dav/lib/DAV/TemporaryFileFilterPlugin.php')
-rw-r--r-- | vendor/sabre/dav/lib/DAV/TemporaryFileFilterPlugin.php | 30 |
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 */ |