Completed
Pull Request — master (#9345)
by Björn
26:01 queued 08:55
created
lib/public/Federation/ICloudFederationProvider.php 1 patch
Indentation   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -37,38 +37,38 @@
 block discarded – undo
37 37
 
38 38
 interface ICloudFederationProvider {
39 39
 
40
-	/**
41
-	 * get the name of the share type, handled by this provider
42
-	 *
43
-	 * @return string
44
-	 *
45
-	 * @since 14.0.0
46
-	 */
47
-	public function getShareType();
40
+    /**
41
+     * get the name of the share type, handled by this provider
42
+     *
43
+     * @return string
44
+     *
45
+     * @since 14.0.0
46
+     */
47
+    public function getShareType();
48 48
 
49
-	/**
50
-	 * share received from another server
51
-	 *
52
-	 * @param ICloudFederationShare $share
53
-	 * @return string provider specific unique ID of the share
54
-	 *
55
-	 * @throws ProviderCouldNotAddShareException
56
-	 *
57
-	 * @since 14.0.0
58
-	 */
59
-	public function shareReceived(ICloudFederationShare $share);
49
+    /**
50
+     * share received from another server
51
+     *
52
+     * @param ICloudFederationShare $share
53
+     * @return string provider specific unique ID of the share
54
+     *
55
+     * @throws ProviderCouldNotAddShareException
56
+     *
57
+     * @since 14.0.0
58
+     */
59
+    public function shareReceived(ICloudFederationShare $share);
60 60
 
61
-	/**
62
-	 * notification received from another server
63
-	 *
64
-	 * @param string $notificationType (e.g SHARE_ACCEPTED)
65
-	 * @param array $message provider specific notification
66
-	 *
67
-	 * @throws ShareNotFoundException
68
-	 * @throws ActionNotSupportedException
69
-	 *
70
-	 * @since 14.0.0
71
-	 */
72
-	public function notificationReceived($notificationType, array $message);
61
+    /**
62
+     * notification received from another server
63
+     *
64
+     * @param string $notificationType (e.g SHARE_ACCEPTED)
65
+     * @param array $message provider specific notification
66
+     *
67
+     * @throws ShareNotFoundException
68
+     * @throws ActionNotSupportedException
69
+     *
70
+     * @since 14.0.0
71
+     */
72
+    public function notificationReceived($notificationType, array $message);
73 73
 
74 74
 }
Please login to merge, or discard this patch.
lib/public/Federation/Exceptions/ActionNotSupportedException.php 2 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -25,15 +25,15 @@
 block discarded – undo
25 25
 
26 26
 class ActionNotSupportedException extends HintException {
27 27
 
28
-	/**
29
-	 * ActionNotSupportedException constructor.
30
-	 *
31
-	 */
32
-	public function __construct($action) {
33
-		$l = \OC::$server->getL10N('federation');
34
-		$message = 'Action "' . $action . '" not supported or implemented.';
35
-		$hint = $l->t('Action "%s" not supported or implemented.', [$action]);
36
-		parent::__construct($message, $hint);
37
-	}
28
+    /**
29
+     * ActionNotSupportedException constructor.
30
+     *
31
+     */
32
+    public function __construct($action) {
33
+        $l = \OC::$server->getL10N('federation');
34
+        $message = 'Action "' . $action . '" not supported or implemented.';
35
+        $hint = $l->t('Action "%s" not supported or implemented.', [$action]);
36
+        parent::__construct($message, $hint);
37
+    }
38 38
 
39 39
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 	 */
32 32
 	public function __construct($action) {
33 33
 		$l = \OC::$server->getL10N('federation');
34
-		$message = 'Action "' . $action . '" not supported or implemented.';
34
+		$message = 'Action "'.$action.'" not supported or implemented.';
35 35
 		$hint = $l->t('Action "%s" not supported or implemented.', [$action]);
36 36
 		parent::__construct($message, $hint);
37 37
 	}
Please login to merge, or discard this patch.