diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-11-25 14:09:38 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-11-27 19:56:40 +0100 |
commit | 9a2694fcb0093afee13d0cd91de15b34b747cc62 (patch) | |
tree | e8a448a61ed62ee47cd997c0d3a4065f472c100d /lib/public | |
parent | bc36cc808fb9ed9ff22c42246fe68f06cedb902e (diff) | |
download | nextcloud-server-9a2694fcb0093afee13d0cd91de15b34b747cc62.tar.gz nextcloud-server-9a2694fcb0093afee13d0cd91de15b34b747cc62.zip |
Code style fixes and cleanup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/DirectEditing/ACreateFromTemplate.php | 2 | ||||
-rw-r--r-- | lib/public/DirectEditing/IEditor.php | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/public/DirectEditing/ACreateFromTemplate.php b/lib/public/DirectEditing/ACreateFromTemplate.php index a731e8be595..89420a63743 100644 --- a/lib/public/DirectEditing/ACreateFromTemplate.php +++ b/lib/public/DirectEditing/ACreateFromTemplate.php @@ -32,7 +32,7 @@ abstract class ACreateFromTemplate extends ACreateEmpty { * List of available templates for the create from template action * * @since 18.0.0 - * @return array + * @return ATemplate[] */ abstract public function getTemplates(): array; diff --git a/lib/public/DirectEditing/IEditor.php b/lib/public/DirectEditing/IEditor.php index a4fc87f7e15..a2bc0d74255 100644 --- a/lib/public/DirectEditing/IEditor.php +++ b/lib/public/DirectEditing/IEditor.php @@ -56,7 +56,7 @@ interface IEditor { * A list of mimetypes that should open the editor by default * * @since 18.0.0 - * @return array + * @return string[] */ public function getMimetypes(): array; @@ -64,7 +64,7 @@ interface IEditor { * A list of mimetypes that can be opened in the editor optionally * * @since 18.0.0 - * @return array + * @return string[] */ public function getMimetypesOptional(): array; @@ -72,7 +72,7 @@ interface IEditor { * Return a list of file creation options to be presented to the user * * @since 18.0.0 - * @return array of ICreateFromTemplate|ICreateEmpty + * @return ACreateFromTemplate[]|ACreateEmpty[] */ public function getCreators(): array; |