summaryrefslogtreecommitdiffstats
path: root/lib/public/Federation
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2018-06-13 14:34:03 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2018-07-02 11:29:31 +0200
commite251b34a8c5ba0c06ff8eecf73374895180f7d03 (patch)
tree0782550eac10b5b8a5ad1e8e38645da26ac0e5ae /lib/public/Federation
parent5c8b26248b58d89f6225e2042fc95dda1823e67e (diff)
downloadnextcloud-server-e251b34a8c5ba0c06ff8eecf73374895180f7d03.tar.gz
nextcloud-server-e251b34a8c5ba0c06ff8eecf73374895180f7d03.zip
cleanup variable naming, it is actually a resource type
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib/public/Federation')
-rw-r--r--lib/public/Federation/ICloudFederationProviderManager.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/public/Federation/ICloudFederationProviderManager.php b/lib/public/Federation/ICloudFederationProviderManager.php
index 7a14e49a7ba..94bbe3ed214 100644
--- a/lib/public/Federation/ICloudFederationProviderManager.php
+++ b/lib/public/Federation/ICloudFederationProviderManager.php
@@ -35,28 +35,28 @@ interface ICloudFederationProviderManager {
/**
* Registers an callback function which must return an cloud federation provider
*
- * @param string $shareType which share type does the provider handles
+ * @param string $resourceType which resource type does the provider handles
* @param string $displayName user facing name of the federated share provider
* @param callable $callback
* @throws Exceptions\ProviderAlreadyExistsException
*
* @since 14.0.0
*/
- public function addCloudFederationProvider($shareType, $displayName, callable $callback);
+ public function addCloudFederationProvider($resourceType, $displayName, callable $callback);
/**
* remove cloud federation provider
*
- * @param string $shareType
+ * @param string $resourceType
*
* @since 14.0.0
*/
- public function removeCloudFederationProvider($shareType);
+ public function removeCloudFederationProvider($resourceType);
/**
* get a list of all cloudFederationProviders
*
- * @return array [id => ['id' => $id, 'displayName' => $displayName, 'callback' => callback]]
+ * @return array [resourceType => ['resourceType' => $resourceType, 'displayName' => $displayName, 'callback' => callback]]
*
* @since 14.0.0
*/
@@ -65,13 +65,13 @@ interface ICloudFederationProviderManager {
/**
* get a specific cloud federation provider
*
- * @param string $shareType
+ * @param string $resourceType
* @return ICloudFederationProvider
* @throws Exceptions\ProviderDoesNotExistsException;
*
* @since 14.0.0
*/
- public function getCloudFederationProvider($shareType);
+ public function getCloudFederationProvider($resourceType);
/**
* send federated share