@@ -30,19 +30,19 @@ |
||
30 | 30 | * @since 12.0.1 |
31 | 31 | */ |
32 | 32 | interface IConfig { |
33 | - /** |
|
34 | - * check if global scale is enabled |
|
35 | - * |
|
36 | - * @since 12.0.1 |
|
37 | - * @return bool |
|
38 | - */ |
|
39 | - public function isGlobalScaleEnabled(); |
|
33 | + /** |
|
34 | + * check if global scale is enabled |
|
35 | + * |
|
36 | + * @since 12.0.1 |
|
37 | + * @return bool |
|
38 | + */ |
|
39 | + public function isGlobalScaleEnabled(); |
|
40 | 40 | |
41 | - /** |
|
42 | - * check if federation should only be used internally in a global scale setup |
|
43 | - * |
|
44 | - * @since 12.0.1 |
|
45 | - * @return bool |
|
46 | - */ |
|
47 | - public function onlyInternalFederation(); |
|
41 | + /** |
|
42 | + * check if federation should only be used internally in a global scale setup |
|
43 | + * |
|
44 | + * @since 12.0.1 |
|
45 | + * @return bool |
|
46 | + */ |
|
47 | + public function onlyInternalFederation(); |
|
48 | 48 | } |
@@ -35,17 +35,17 @@ |
||
35 | 35 | * @since 12.0.0 |
36 | 36 | */ |
37 | 37 | interface IDiscoveryService { |
38 | - /** |
|
39 | - * Discover OCS end-points |
|
40 | - * |
|
41 | - * If no valid discovery data is found the defaults are returned |
|
42 | - * |
|
43 | - * @since 12.0.0 |
|
44 | - * |
|
45 | - * @param string $remote |
|
46 | - * @param string $service the service you want to discover |
|
47 | - * @param bool $skipCache We won't check if the data is in the cache. This is useful if a background job is updating the status - Added in 14.0.0 |
|
48 | - * @return array |
|
49 | - */ |
|
50 | - public function discover(string $remote, string $service, bool $skipCache = false): array; |
|
38 | + /** |
|
39 | + * Discover OCS end-points |
|
40 | + * |
|
41 | + * If no valid discovery data is found the defaults are returned |
|
42 | + * |
|
43 | + * @since 12.0.0 |
|
44 | + * |
|
45 | + * @param string $remote |
|
46 | + * @param string $service the service you want to discover |
|
47 | + * @param bool $skipCache We won't check if the data is in the cache. This is useful if a background job is updating the status - Added in 14.0.0 |
|
48 | + * @return array |
|
49 | + */ |
|
50 | + public function discover(string $remote, string $service, bool $skipCache = false): array; |
|
51 | 51 | } |
@@ -36,39 +36,39 @@ |
||
36 | 36 | * @since 26.0.0 |
37 | 37 | */ |
38 | 38 | final class AutoSubmitted { |
39 | - /** |
|
40 | - * Name of the Header as used in the final message later |
|
41 | - * |
|
42 | - * @var string |
|
43 | - * @since 26.0.0 |
|
44 | - */ |
|
45 | - public const HEADER = 'Auto-Submitted'; |
|
39 | + /** |
|
40 | + * Name of the Header as used in the final message later |
|
41 | + * |
|
42 | + * @var string |
|
43 | + * @since 26.0.0 |
|
44 | + */ |
|
45 | + public const HEADER = 'Auto-Submitted'; |
|
46 | 46 | |
47 | - /** |
|
48 | - * Indicates that a message was NOT automatically generated, but was |
|
49 | - * created by a human (or following human interaction). It is the equivalent |
|
50 | - * to the absence of an Auto-Submitted header altogether. |
|
51 | - * |
|
52 | - * @var string |
|
53 | - * @since 26.0.0 |
|
54 | - */ |
|
55 | - public const VALUE_NO = 'no'; |
|
47 | + /** |
|
48 | + * Indicates that a message was NOT automatically generated, but was |
|
49 | + * created by a human (or following human interaction). It is the equivalent |
|
50 | + * to the absence of an Auto-Submitted header altogether. |
|
51 | + * |
|
52 | + * @var string |
|
53 | + * @since 26.0.0 |
|
54 | + */ |
|
55 | + public const VALUE_NO = 'no'; |
|
56 | 56 | |
57 | - /** |
|
58 | - * Indicates that a message was generated by an automatic process, and is |
|
59 | - * not a direct response to another message |
|
60 | - * |
|
61 | - * @var string |
|
62 | - * @since 26.0.0 |
|
63 | - */ |
|
64 | - public const VALUE_AUTO_GENERATED = 'auto-generated'; |
|
57 | + /** |
|
58 | + * Indicates that a message was generated by an automatic process, and is |
|
59 | + * not a direct response to another message |
|
60 | + * |
|
61 | + * @var string |
|
62 | + * @since 26.0.0 |
|
63 | + */ |
|
64 | + public const VALUE_AUTO_GENERATED = 'auto-generated'; |
|
65 | 65 | |
66 | - /** |
|
67 | - * Indicates that a message was automatically generated as a direct response |
|
68 | - * to another message. |
|
69 | - * |
|
70 | - * @var string |
|
71 | - * @since 26.0.0 |
|
72 | - */ |
|
73 | - public const VALUE_AUTO_REPLIED = 'auto-replied'; |
|
66 | + /** |
|
67 | + * Indicates that a message was automatically generated as a direct response |
|
68 | + * to another message. |
|
69 | + * |
|
70 | + * @var string |
|
71 | + * @since 26.0.0 |
|
72 | + */ |
|
73 | + public const VALUE_AUTO_REPLIED = 'auto-replied'; |
|
74 | 74 | } |
@@ -35,23 +35,23 @@ |
||
35 | 35 | * @since 19.0.0 |
36 | 36 | */ |
37 | 37 | class BeforeMessageSent extends Event { |
38 | - /** @var IMessage */ |
|
39 | - private $message; |
|
38 | + /** @var IMessage */ |
|
39 | + private $message; |
|
40 | 40 | |
41 | - /** |
|
42 | - * @param IMessage $message |
|
43 | - * @since 19.0.0 |
|
44 | - */ |
|
45 | - public function __construct(IMessage $message) { |
|
46 | - parent::__construct(); |
|
47 | - $this->message = $message; |
|
48 | - } |
|
41 | + /** |
|
42 | + * @param IMessage $message |
|
43 | + * @since 19.0.0 |
|
44 | + */ |
|
45 | + public function __construct(IMessage $message) { |
|
46 | + parent::__construct(); |
|
47 | + $this->message = $message; |
|
48 | + } |
|
49 | 49 | |
50 | - /** |
|
51 | - * @return IMessage |
|
52 | - * @since 19.0.0 |
|
53 | - */ |
|
54 | - public function getMessage(): IMessage { |
|
55 | - return $this->message; |
|
56 | - } |
|
50 | + /** |
|
51 | + * @return IMessage |
|
52 | + * @since 19.0.0 |
|
53 | + */ |
|
54 | + public function getMessage(): IMessage { |
|
55 | + return $this->message; |
|
56 | + } |
|
57 | 57 | } |
@@ -32,24 +32,24 @@ |
||
32 | 32 | * @since 13.0.0 |
33 | 33 | */ |
34 | 34 | interface IAttachment { |
35 | - /** |
|
36 | - * @param string $filename |
|
37 | - * @return IAttachment |
|
38 | - * @since 13.0.0 |
|
39 | - */ |
|
40 | - public function setFilename(string $filename): IAttachment; |
|
35 | + /** |
|
36 | + * @param string $filename |
|
37 | + * @return IAttachment |
|
38 | + * @since 13.0.0 |
|
39 | + */ |
|
40 | + public function setFilename(string $filename): IAttachment; |
|
41 | 41 | |
42 | - /** |
|
43 | - * @param string $contentType |
|
44 | - * @return IAttachment |
|
45 | - * @since 13.0.0 |
|
46 | - */ |
|
47 | - public function setContentType(string $contentType): IAttachment; |
|
42 | + /** |
|
43 | + * @param string $contentType |
|
44 | + * @return IAttachment |
|
45 | + * @since 13.0.0 |
|
46 | + */ |
|
47 | + public function setContentType(string $contentType): IAttachment; |
|
48 | 48 | |
49 | - /** |
|
50 | - * @param string $body |
|
51 | - * @return IAttachment |
|
52 | - * @since 13.0.0 |
|
53 | - */ |
|
54 | - public function setBody(string $body): IAttachment; |
|
49 | + /** |
|
50 | + * @param string $body |
|
51 | + * @return IAttachment |
|
52 | + * @since 13.0.0 |
|
53 | + */ |
|
54 | + public function setBody(string $body): IAttachment; |
|
55 | 55 | } |
@@ -33,26 +33,26 @@ |
||
33 | 33 | * @since 6.0.0 |
34 | 34 | */ |
35 | 35 | interface IApacheBackend { |
36 | - /** |
|
37 | - * In case the user has been authenticated by a module true is returned. |
|
38 | - * |
|
39 | - * @return boolean whether the module reports a user as currently logged in. |
|
40 | - * @since 6.0.0 |
|
41 | - */ |
|
42 | - public function isSessionActive(); |
|
36 | + /** |
|
37 | + * In case the user has been authenticated by a module true is returned. |
|
38 | + * |
|
39 | + * @return boolean whether the module reports a user as currently logged in. |
|
40 | + * @since 6.0.0 |
|
41 | + */ |
|
42 | + public function isSessionActive(); |
|
43 | 43 | |
44 | - /** |
|
45 | - * Gets the current logout URL |
|
46 | - * |
|
47 | - * @return string |
|
48 | - * @since 12.0.3 |
|
49 | - */ |
|
50 | - public function getLogoutUrl(); |
|
44 | + /** |
|
45 | + * Gets the current logout URL |
|
46 | + * |
|
47 | + * @return string |
|
48 | + * @since 12.0.3 |
|
49 | + */ |
|
50 | + public function getLogoutUrl(); |
|
51 | 51 | |
52 | - /** |
|
53 | - * Return the id of the current user |
|
54 | - * @return string |
|
55 | - * @since 6.0.0 |
|
56 | - */ |
|
57 | - public function getCurrentUserId(); |
|
52 | + /** |
|
53 | + * Return the id of the current user |
|
54 | + * @return string |
|
55 | + * @since 6.0.0 |
|
56 | + */ |
|
57 | + public function getCurrentUserId(); |
|
58 | 58 | } |
@@ -35,14 +35,14 @@ |
||
35 | 35 | * @since 15.0.0 |
36 | 36 | */ |
37 | 37 | interface IActivatableByAdmin extends IProvider { |
38 | - /** |
|
39 | - * Enable this provider for the given user. |
|
40 | - * |
|
41 | - * @param IUser $user the user to activate this provider for |
|
42 | - * |
|
43 | - * @return void |
|
44 | - * |
|
45 | - * @since 15.0.0 |
|
46 | - */ |
|
47 | - public function enableFor(IUser $user); |
|
38 | + /** |
|
39 | + * Enable this provider for the given user. |
|
40 | + * |
|
41 | + * @param IUser $user the user to activate this provider for |
|
42 | + * |
|
43 | + * @return void |
|
44 | + * |
|
45 | + * @since 15.0.0 |
|
46 | + */ |
|
47 | + public function enableFor(IUser $user); |
|
48 | 48 | } |
@@ -35,14 +35,14 @@ |
||
35 | 35 | * @since 15.0.0 |
36 | 36 | */ |
37 | 37 | interface IDeactivatableByAdmin extends IProvider { |
38 | - /** |
|
39 | - * Disable this provider for the given user. |
|
40 | - * |
|
41 | - * @param IUser $user the user to deactivate this provider for |
|
42 | - * |
|
43 | - * @return void |
|
44 | - * |
|
45 | - * @since 15.0.0 |
|
46 | - */ |
|
47 | - public function disableFor(IUser $user); |
|
38 | + /** |
|
39 | + * Disable this provider for the given user. |
|
40 | + * |
|
41 | + * @param IUser $user the user to deactivate this provider for |
|
42 | + * |
|
43 | + * @return void |
|
44 | + * |
|
45 | + * @since 15.0.0 |
|
46 | + */ |
|
47 | + public function disableFor(IUser $user); |
|
48 | 48 | } |
@@ -32,21 +32,21 @@ |
||
32 | 32 | * @since 15.0.0 |
33 | 33 | */ |
34 | 34 | interface IProvidesIcons extends IProvider { |
35 | - /** |
|
36 | - * Get the path to the light (white) icon of this provider |
|
37 | - * |
|
38 | - * @return String |
|
39 | - * |
|
40 | - * @since 15.0.0 |
|
41 | - */ |
|
42 | - public function getLightIcon(): String; |
|
35 | + /** |
|
36 | + * Get the path to the light (white) icon of this provider |
|
37 | + * |
|
38 | + * @return String |
|
39 | + * |
|
40 | + * @since 15.0.0 |
|
41 | + */ |
|
42 | + public function getLightIcon(): String; |
|
43 | 43 | |
44 | - /** |
|
45 | - * Get the path to the dark (black) icon of this provider |
|
46 | - * |
|
47 | - * @return String |
|
48 | - * |
|
49 | - * @since 15.0.0 |
|
50 | - */ |
|
51 | - public function getDarkIcon(): String; |
|
44 | + /** |
|
45 | + * Get the path to the dark (black) icon of this provider |
|
46 | + * |
|
47 | + * @return String |
|
48 | + * |
|
49 | + * @since 15.0.0 |
|
50 | + */ |
|
51 | + public function getDarkIcon(): String; |
|
52 | 52 | } |