From 1e8e00c541726418361be9bd28bf784ac5a90657 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Mon, 8 Feb 2016 14:44:26 +0100 Subject: [PATCH] Add proper throw tags to File --- lib/public/files/file.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/public/files/file.php b/lib/public/files/file.php index 3acf24b927..1550f92682 100644 --- a/lib/public/files/file.php +++ b/lib/public/files/file.php @@ -84,4 +84,14 @@ interface File extends Node { * @since 6.0.0 */ public function hash($type, $raw = false); + + /** + * Get the stored checksum for this file + * + * @return string + * @since 9.0.0 + * @throws InvalidPathException + * @throws NotFoundException + */ + public function getChecksum(); }