Add proper throw tags to File

This commit is contained in:
Roeland Jago Douma 2016-02-08 14:44:26 +01:00
parent 41ba9280f7
commit 1e8e00c541
1 changed files with 10 additions and 0 deletions

View File

@ -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();
}