@@ -36,12 +36,12 @@ |
||
36 | 36 | */ |
37 | 37 | interface ICapability { |
38 | 38 | |
39 | - /** |
|
40 | - * Function an app uses to return the capabilities |
|
41 | - * |
|
42 | - * @return array Array containing the apps capabilities |
|
43 | - * @since 8.2.0 |
|
44 | - */ |
|
45 | - public function getCapabilities(); |
|
39 | + /** |
|
40 | + * Function an app uses to return the capabilities |
|
41 | + * |
|
42 | + * @return array Array containing the apps capabilities |
|
43 | + * @since 8.2.0 |
|
44 | + */ |
|
45 | + public function getCapabilities(); |
|
46 | 46 | } |
47 | 47 |
@@ -28,22 +28,22 @@ |
||
28 | 28 | */ |
29 | 29 | interface IRepairStep { |
30 | 30 | |
31 | - /** |
|
32 | - * Returns the step's name |
|
33 | - * |
|
34 | - * @return string |
|
35 | - * @since 9.1.0 |
|
36 | - */ |
|
37 | - public function getName(); |
|
31 | + /** |
|
32 | + * Returns the step's name |
|
33 | + * |
|
34 | + * @return string |
|
35 | + * @since 9.1.0 |
|
36 | + */ |
|
37 | + public function getName(); |
|
38 | 38 | |
39 | - /** |
|
40 | - * Run repair step. |
|
41 | - * Must throw exception on error. |
|
42 | - * |
|
43 | - * @param IOutput $output |
|
44 | - * @throws \Exception in case of failure |
|
45 | - * @since 9.1.0 |
|
46 | - */ |
|
47 | - public function run(IOutput $output); |
|
39 | + /** |
|
40 | + * Run repair step. |
|
41 | + * Must throw exception on error. |
|
42 | + * |
|
43 | + * @param IOutput $output |
|
44 | + * @throws \Exception in case of failure |
|
45 | + * @since 9.1.0 |
|
46 | + */ |
|
47 | + public function run(IOutput $output); |
|
48 | 48 | |
49 | 49 | } |
@@ -30,35 +30,35 @@ |
||
30 | 30 | */ |
31 | 31 | interface IOutput { |
32 | 32 | |
33 | - /** |
|
34 | - * @param string $message |
|
35 | - * @since 9.1.0 |
|
36 | - */ |
|
37 | - public function info($message); |
|
33 | + /** |
|
34 | + * @param string $message |
|
35 | + * @since 9.1.0 |
|
36 | + */ |
|
37 | + public function info($message); |
|
38 | 38 | |
39 | - /** |
|
40 | - * @param string $message |
|
41 | - * @since 9.1.0 |
|
42 | - */ |
|
43 | - public function warning($message); |
|
39 | + /** |
|
40 | + * @param string $message |
|
41 | + * @since 9.1.0 |
|
42 | + */ |
|
43 | + public function warning($message); |
|
44 | 44 | |
45 | - /** |
|
46 | - * @param int $max |
|
47 | - * @since 9.1.0 |
|
48 | - */ |
|
49 | - public function startProgress($max = 0); |
|
45 | + /** |
|
46 | + * @param int $max |
|
47 | + * @since 9.1.0 |
|
48 | + */ |
|
49 | + public function startProgress($max = 0); |
|
50 | 50 | |
51 | - /** |
|
52 | - * @param int $step |
|
53 | - * @param string $description |
|
54 | - * @since 9.1.0 |
|
55 | - */ |
|
56 | - public function advance($step = 1, $description = ''); |
|
51 | + /** |
|
52 | + * @param int $step |
|
53 | + * @param string $description |
|
54 | + * @since 9.1.0 |
|
55 | + */ |
|
56 | + public function advance($step = 1, $description = ''); |
|
57 | 57 | |
58 | - /** |
|
59 | - * @param int $max |
|
60 | - * @since 9.1.0 |
|
61 | - */ |
|
62 | - public function finishProgress(); |
|
58 | + /** |
|
59 | + * @param int $max |
|
60 | + * @since 9.1.0 |
|
61 | + */ |
|
62 | + public function finishProgress(); |
|
63 | 63 | |
64 | 64 | } |
@@ -30,9 +30,9 @@ |
||
30 | 30 | * @since 8.1.0 |
31 | 31 | */ |
32 | 32 | interface ICommand { |
33 | - /** |
|
34 | - * Run the command |
|
35 | - * @since 8.1.0 |
|
36 | - */ |
|
37 | - public function handle(); |
|
33 | + /** |
|
34 | + * Run the command |
|
35 | + * @since 8.1.0 |
|
36 | + */ |
|
37 | + public function handle(); |
|
38 | 38 | } |
@@ -30,19 +30,19 @@ |
||
30 | 30 | * @since 8.1.0 |
31 | 31 | */ |
32 | 32 | interface IBus { |
33 | - /** |
|
34 | - * Schedule a command to be fired |
|
35 | - * |
|
36 | - * @param \OCP\Command\ICommand | callable $command |
|
37 | - * @since 8.1.0 |
|
38 | - */ |
|
39 | - public function push($command); |
|
33 | + /** |
|
34 | + * Schedule a command to be fired |
|
35 | + * |
|
36 | + * @param \OCP\Command\ICommand | callable $command |
|
37 | + * @since 8.1.0 |
|
38 | + */ |
|
39 | + public function push($command); |
|
40 | 40 | |
41 | - /** |
|
42 | - * Require all commands using a trait to be run synchronous |
|
43 | - * |
|
44 | - * @param string $trait |
|
45 | - * @since 8.1.0 |
|
46 | - */ |
|
47 | - public function requireSync($trait); |
|
41 | + /** |
|
42 | + * Require all commands using a trait to be run synchronous |
|
43 | + * |
|
44 | + * @param string $trait |
|
45 | + * @since 8.1.0 |
|
46 | + */ |
|
47 | + public function requireSync($trait); |
|
48 | 48 | } |
@@ -31,13 +31,13 @@ |
||
31 | 31 | * @since 5.0.0 |
32 | 32 | */ |
33 | 33 | interface Share_Backend_File_Dependent extends Share_Backend { |
34 | - /** |
|
35 | - * Get the file path of the item |
|
36 | - * @param string $itemSource |
|
37 | - * @param string $uidOwner User that is the owner of shared item |
|
38 | - * @return string|false |
|
39 | - * @since 5.0.0 |
|
40 | - */ |
|
41 | - public function getFilePath($itemSource, $uidOwner); |
|
34 | + /** |
|
35 | + * Get the file path of the item |
|
36 | + * @param string $itemSource |
|
37 | + * @param string $uidOwner User that is the owner of shared item |
|
38 | + * @return string|false |
|
39 | + * @since 5.0.0 |
|
40 | + */ |
|
41 | + public function getFilePath($itemSource, $uidOwner); |
|
42 | 42 | |
43 | 43 | } |
@@ -30,13 +30,13 @@ |
||
30 | 30 | */ |
31 | 31 | class SabrePluginException extends Exception { |
32 | 32 | |
33 | - /** |
|
34 | - * Returns the HTTP statuscode for this exception |
|
35 | - * |
|
36 | - * @return int |
|
37 | - * @since 8.2.0 |
|
38 | - */ |
|
39 | - public function getHTTPCode() { |
|
40 | - return $this->code; |
|
41 | - } |
|
33 | + /** |
|
34 | + * Returns the HTTP statuscode for this exception |
|
35 | + * |
|
36 | + * @return int |
|
37 | + * @since 8.2.0 |
|
38 | + */ |
|
39 | + public function getHTTPCode() { |
|
40 | + return $this->code; |
|
41 | + } |
|
42 | 42 | } |
@@ -30,25 +30,25 @@ |
||
30 | 30 | */ |
31 | 31 | interface ISettings { |
32 | 32 | |
33 | - /** |
|
34 | - * @return TemplateResponse returns the instance with all parameters set, ready to be rendered |
|
35 | - * @since 9.1 |
|
36 | - */ |
|
37 | - public function getForm(); |
|
33 | + /** |
|
34 | + * @return TemplateResponse returns the instance with all parameters set, ready to be rendered |
|
35 | + * @since 9.1 |
|
36 | + */ |
|
37 | + public function getForm(); |
|
38 | 38 | |
39 | - /** |
|
40 | - * @return string the section ID, e.g. 'sharing' |
|
41 | - * @since 9.1 |
|
42 | - */ |
|
43 | - public function getSection(); |
|
39 | + /** |
|
40 | + * @return string the section ID, e.g. 'sharing' |
|
41 | + * @since 9.1 |
|
42 | + */ |
|
43 | + public function getSection(); |
|
44 | 44 | |
45 | - /** |
|
46 | - * @return int whether the form should be rather on the top or bottom of |
|
47 | - * the admin section. The forms are arranged in ascending order of the |
|
48 | - * priority values. It is required to return a value between 0 and 100. |
|
49 | - * |
|
50 | - * E.g.: 70 |
|
51 | - * @since 9.1 |
|
52 | - */ |
|
53 | - public function getPriority(); |
|
45 | + /** |
|
46 | + * @return int whether the form should be rather on the top or bottom of |
|
47 | + * the admin section. The forms are arranged in ascending order of the |
|
48 | + * priority values. It is required to return a value between 0 and 100. |
|
49 | + * |
|
50 | + * E.g.: 70 |
|
51 | + * @since 9.1 |
|
52 | + */ |
|
53 | + public function getPriority(); |
|
54 | 54 | } |
@@ -28,31 +28,31 @@ |
||
28 | 28 | * @since 9.1 |
29 | 29 | */ |
30 | 30 | interface ISection { |
31 | - /** |
|
32 | - * returns the ID of the section. It is supposed to be a lower case string, |
|
33 | - * e.g. 'ldap' |
|
34 | - * |
|
35 | - * @returns string |
|
36 | - * @since 9.1 |
|
37 | - */ |
|
38 | - public function getID(); |
|
31 | + /** |
|
32 | + * returns the ID of the section. It is supposed to be a lower case string, |
|
33 | + * e.g. 'ldap' |
|
34 | + * |
|
35 | + * @returns string |
|
36 | + * @since 9.1 |
|
37 | + */ |
|
38 | + public function getID(); |
|
39 | 39 | |
40 | - /** |
|
41 | - * returns the translated name as it should be displayed, e.g. 'LDAP / AD |
|
42 | - * integration'. Use the L10N service to translate it. |
|
43 | - * |
|
44 | - * @return string |
|
45 | - * @since 9.1 |
|
46 | - */ |
|
47 | - public function getName(); |
|
40 | + /** |
|
41 | + * returns the translated name as it should be displayed, e.g. 'LDAP / AD |
|
42 | + * integration'. Use the L10N service to translate it. |
|
43 | + * |
|
44 | + * @return string |
|
45 | + * @since 9.1 |
|
46 | + */ |
|
47 | + public function getName(); |
|
48 | 48 | |
49 | - /** |
|
50 | - * @return int whether the form should be rather on the top or bottom of |
|
51 | - * the settings navigation. The sections are arranged in ascending order of |
|
52 | - * the priority values. It is required to return a value between 0 and 99. |
|
53 | - * |
|
54 | - * E.g.: 70 |
|
55 | - * @since 9.1 |
|
56 | - */ |
|
57 | - public function getPriority(); |
|
49 | + /** |
|
50 | + * @return int whether the form should be rather on the top or bottom of |
|
51 | + * the settings navigation. The sections are arranged in ascending order of |
|
52 | + * the priority values. It is required to return a value between 0 and 99. |
|
53 | + * |
|
54 | + * E.g.: 70 |
|
55 | + * @since 9.1 |
|
56 | + */ |
|
57 | + public function getPriority(); |
|
58 | 58 | } |