aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/dav/lib/DAV/Sync/Plugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sabre/dav/lib/DAV/Sync/Plugin.php')
-rw-r--r--vendor/sabre/dav/lib/DAV/Sync/Plugin.php15
1 files changed, 13 insertions, 2 deletions
diff --git a/vendor/sabre/dav/lib/DAV/Sync/Plugin.php b/vendor/sabre/dav/lib/DAV/Sync/Plugin.php
index 32106abb3..f76827fe3 100644
--- a/vendor/sabre/dav/lib/DAV/Sync/Plugin.php
+++ b/vendor/sabre/dav/lib/DAV/Sync/Plugin.php
@@ -48,6 +48,8 @@ class Plugin extends DAV\ServerPlugin
* Initializes the plugin.
*
* This is when the plugin registers it's hooks.
+ *
+ * @param DAV\Server $server
*/
public function initialize(DAV\Server $server)
{
@@ -95,7 +97,8 @@ class Plugin extends DAV\ServerPlugin
/**
* This method handles the {DAV:}sync-collection HTTP REPORT.
*
- * @param string $uri
+ * @param string $uri
+ * @param SyncCollectionReport $report
*/
public function syncCollection($uri, SyncCollectionReport $report)
{
@@ -140,6 +143,10 @@ class Plugin extends DAV\ServerPlugin
*
* @param string $syncToken
* @param string $collectionUrl
+ * @param array $added
+ * @param array $modified
+ * @param array $deleted
+ * @param array $properties
*/
protected function sendSyncCollectionResponse($syncToken, $collectionUrl, array $added, array $modified, array $deleted, array $properties)
{
@@ -176,6 +183,9 @@ class Plugin extends DAV\ServerPlugin
/**
* This method is triggered whenever properties are requested for a node.
* We intercept this to see if we must return a {DAV:}sync-token.
+ *
+ * @param DAV\PropFind $propFind
+ * @param DAV\INode $node
*/
public function propFind(DAV\PropFind $propFind, DAV\INode $node)
{
@@ -194,7 +204,8 @@ class Plugin extends DAV\ServerPlugin
* It's a moment where this plugin can check all the supplied lock tokens
* in the If: header, and check if they are valid.
*
- * @param array $conditions
+ * @param RequestInterface $request
+ * @param array $conditions
*/
public function validateTokens(RequestInterface $request, &$conditions)
{