summaryrefslogtreecommitdiffstats
path: root/lib/public/Accounts/IAccountProperty.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Accounts/IAccountProperty.php')
-rw-r--r--lib/public/Accounts/IAccountProperty.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/public/Accounts/IAccountProperty.php b/lib/public/Accounts/IAccountProperty.php
index 657121a27e8..1366ddd9543 100644
--- a/lib/public/Accounts/IAccountProperty.php
+++ b/lib/public/Accounts/IAccountProperty.php
@@ -26,6 +26,8 @@ declare(strict_types=1);
namespace OCP\Accounts;
+use InvalidArgumentException;
+
/**
* Interface IAccountProperty
*
@@ -50,6 +52,7 @@ interface IAccountProperty extends \JsonSerializable {
*
* @param string $scope
* @return IAccountProperty
+ * @throws InvalidArgumentException (since 22.0.0)
*/
public function setScope(string $scope): IAccountProperty;