From 57fa6775c09872fad9553cd3aaaecfaafd639700 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Mon, 9 Apr 2018 15:09:06 +0200 Subject: [PATCH] Fix version on public API --- lib/public/Files/IPreviewNode.php | 4 ++-- lib/public/Files/IProvidesAdditionalHeaders.php | 6 +++--- .../Files/ObjectStore/IVersionedObjectStorage.php | 12 ++++++------ lib/public/Files/Storage/IVersionedStorage.php | 12 ++++++------ lib/public/Preview/IProvider.php | 2 +- lib/public/Preview/IProvider2.php | 8 ++++---- 6 files changed, 22 insertions(+), 22 deletions(-) diff --git a/lib/public/Files/IPreviewNode.php b/lib/public/Files/IPreviewNode.php index b849d1eeb6c7..22896796ca80 100644 --- a/lib/public/Files/IPreviewNode.php +++ b/lib/public/Files/IPreviewNode.php @@ -28,7 +28,7 @@ * this interface. * * @package OCP\Files - * @since 10.1.0 + * @since 10.0.9 */ interface IPreviewNode { @@ -37,7 +37,7 @@ interface IPreviewNode { * * @param array $options * @return IImage - * @since 10.1.0 + * @since 10.0.9 */ public function getThumbnail($options); } diff --git a/lib/public/Files/IProvidesAdditionalHeaders.php b/lib/public/Files/IProvidesAdditionalHeaders.php index 4c8f9f975c9c..6a0a8caf17dc 100644 --- a/lib/public/Files/IProvidesAdditionalHeaders.php +++ b/lib/public/Files/IProvidesAdditionalHeaders.php @@ -28,7 +28,7 @@ * This interface allows to add additional headers to the response * * @package OCP\Files - * @since 10.0.5 + * @since 10.0.9 */ interface IProvidesAdditionalHeaders { @@ -36,14 +36,14 @@ interface IProvidesAdditionalHeaders { * Returns an array of headers. * * @return array - * @since 10.0.5 + * @since 10.0.9 */ public function getHeaders(); /** * Returns the file name which is to be used for the content disposition * @return string - * @since 10.0.5 + * @since 10.0.9 */ public function getContentDispositionFileName(); } diff --git a/lib/public/Files/ObjectStore/IVersionedObjectStorage.php b/lib/public/Files/ObjectStore/IVersionedObjectStorage.php index c676feab388f..db311a855be9 100644 --- a/lib/public/Files/ObjectStore/IVersionedObjectStorage.php +++ b/lib/public/Files/ObjectStore/IVersionedObjectStorage.php @@ -27,7 +27,7 @@ * object living in an object store * * @package OCP\Files\ObjectStore - * @since 10.0.5 + * @since 10.0.9 */ interface IVersionedObjectStorage { @@ -36,7 +36,7 @@ interface IVersionedObjectStorage { * * @param string $urn the unified resource name used to identify the object * @return array - * @since 10.0.5 + * @since 10.0.9 */ public function getVersions($urn); @@ -46,7 +46,7 @@ public function getVersions($urn); * @param string $urn the unified resource name used to identify the object * @param string $versionId * @return array - * @since 10.0.5 + * @since 10.0.9 */ public function getVersion($urn, $versionId); @@ -56,7 +56,7 @@ public function getVersion($urn, $versionId); * @param string $urn the unified resource name used to identify the object * @param string $versionId * @return resource - * @since 10.0.5 + * @since 10.0.9 */ public function getContentOfVersion($urn, $versionId); @@ -66,14 +66,14 @@ public function getContentOfVersion($urn, $versionId); * @param string $urn the unified resource name used to identify the object * @param string $versionId * @return boolean - * @since 10.0.5 + * @since 10.0.9 */ public function restoreVersion($urn, $versionId); /** * Tells the storage to explicitly create a version of a given file * @return boolean - * @since 10.0.5 + * @since 10.0.9 */ public function saveVersion($internalPath); diff --git a/lib/public/Files/Storage/IVersionedStorage.php b/lib/public/Files/Storage/IVersionedStorage.php index d4afeb602e83..6c038b9f9cd4 100644 --- a/lib/public/Files/Storage/IVersionedStorage.php +++ b/lib/public/Files/Storage/IVersionedStorage.php @@ -26,7 +26,7 @@ * Interface IVersionedStorage - storage layer to access version of a file * * @package OCP\Files\Storage - * @since 10.0.5 + * @since 10.0.9 */ interface IVersionedStorage { @@ -35,7 +35,7 @@ interface IVersionedStorage { * * @param string $internalPath * @return array - * @since 10.0.5 + * @since 10.0.9 */ public function getVersions($internalPath); @@ -45,7 +45,7 @@ public function getVersions($internalPath); * @param string $internalPath * @param string $versionId * @return array - * @since 10.0.5 + * @since 10.0.9 */ public function getVersion($internalPath, $versionId); @@ -55,7 +55,7 @@ public function getVersion($internalPath, $versionId); * @param string $internalPath * @param string $versionId * @return resource - * @since 10.0.5 + * @since 10.0.9 */ public function getContentOfVersion($internalPath, $versionId); @@ -65,7 +65,7 @@ public function getContentOfVersion($internalPath, $versionId); * @param string $internalPath * @param string $versionId * @return boolean - * @since 10.0.5 + * @since 10.0.9 */ public function restoreVersion($internalPath, $versionId); @@ -74,7 +74,7 @@ public function restoreVersion($internalPath, $versionId); * * @param string $internalPath * @return bool - * @since 10.0.5 + * @since 10.0.9 */ public function saveVersion($internalPath); diff --git a/lib/public/Preview/IProvider.php b/lib/public/Preview/IProvider.php index c9644ce0b7f1..24944a7ba3e8 100644 --- a/lib/public/Preview/IProvider.php +++ b/lib/public/Preview/IProvider.php @@ -26,7 +26,7 @@ * * @package OCP\Preview * @since 8.1.0 - * @deprecated 10.1.0 + * @deprecated 10.0.8 */ interface IProvider { /** diff --git a/lib/public/Preview/IProvider2.php b/lib/public/Preview/IProvider2.php index a8802af32393..90a705fb29b8 100644 --- a/lib/public/Preview/IProvider2.php +++ b/lib/public/Preview/IProvider2.php @@ -27,12 +27,12 @@ * Interface IProvider2 * * @package OCP\Preview - * @since 10.1.0 + * @since 10.0.9 */ interface IProvider2 { /** * @return string Regex with the mimetypes that are supported by this provider - * @since 10.1.0 + * @since 10.0.9 */ public function getMimeType(); @@ -41,7 +41,7 @@ public function getMimeType(); * * @param File $file * @return bool - * @since 10.1.0 + * @since 10.0.9 */ public function isAvailable(File $file); @@ -53,7 +53,7 @@ public function isAvailable(File $file); * @param int $maxY The maximum Y size of the thumbnail. It can be smaller depending on the shape of the image * @param bool $scalingUp Disable/Enable upscaling of previews * @return bool|\OCP\IImage false if no preview was generated - * @since 10.1.0 + * @since 10.0.9 */ public function getThumbnail(File $file, $maxX, $maxY, $scalingUp); }