Add exceptions to PHPDoc of interface

Improves static code analysis here and also keeps expectations proper.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2017-09-10 20:01:15 +02:00
parent 3f6692ee24
commit b97f48f1af
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
1 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,7 @@ interface IManager {
*
* @param IShare $share
* @return IShare The share object
* @throws \Exception
* @since 9.0.0
*/
public function createShare(IShare $share);
@ -51,6 +52,7 @@ interface IManager {
*
* @param IShare $share
* @return IShare The share object
* @throws \InvalidArgumentException
* @since 9.0.0
*/
public function updateShare(IShare $share);
@ -60,6 +62,7 @@ interface IManager {
*
* @param IShare $share
* @throws ShareNotFound
* @throws \InvalidArgumentException
* @since 9.0.0
*/
public function deleteShare(IShare $share);