diff options
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/IPreview.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/IPreview.php b/lib/public/IPreview.php index 207539b1170..7705df61a17 100644 --- a/lib/public/IPreview.php +++ b/lib/public/IPreview.php @@ -104,7 +104,8 @@ interface IPreview { * @param string $mimeType To force a given mimetype for the file (files_versions needs this) * @return ISimpleFile * @throws NotFoundException - * @since 11.0.0 + * @throws \InvalidArgumentException if the preview would be invalid (in case the original image is invalid) + * @since 11.0.0 - \InvalidArgumentException was added in 12.0.0 */ public function getPreview(File $file, $width = -1, $height = -1, $crop = false, $mode = IPreview::MODE_FILL, $mimeType = null); |