aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorskjnldsv <skjnldsv@protonmail.com>2024-07-09 11:09:01 +0200
committerJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-07-12 20:14:30 +0200
commit30f9ef414ed3a6079354ea2204714216f4533dc9 (patch)
tree98048cf9bde9e00c58e07d62d4138555d4a9ba20 /lib/public
parent5ce4bb368fd1a76293508b3838ec3c003fdfd439 (diff)
downloadnextcloud-server-30f9ef414ed3a6079354ea2204714216f4533dc9.tar.gz
nextcloud-server-30f9ef414ed3a6079354ea2204714216f4533dc9.zip
fix: psalm, cs, autoloader and lint
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Share/IAttributes.php2
-rw-r--r--lib/public/Share/IShareProviderWithNotification.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/Share/IAttributes.php b/lib/public/Share/IAttributes.php
index 7ad2765354f..cb68cc9ebb3 100644
--- a/lib/public/Share/IAttributes.php
+++ b/lib/public/Share/IAttributes.php
@@ -21,7 +21,7 @@ interface IAttributes {
* @return IAttributes The modified object
* @since 25.0.0
*/
- public function setAttribute($scope, $key, $enabled);
+ public function setAttribute($scope, $key, $value);
/**
* Returns if attribute is enabled/disabled for given scope id and key.
diff --git a/lib/public/Share/IShareProviderWithNotification.php b/lib/public/Share/IShareProviderWithNotification.php
index 8a595f46dfd..afd1429c1f0 100644
--- a/lib/public/Share/IShareProviderWithNotification.php
+++ b/lib/public/Share/IShareProviderWithNotification.php
@@ -17,7 +17,7 @@ interface IShareProviderWithNotification extends IShareProvider {
* Send a mail notification to the recipient of a share
* @param IShare $share
* @return bool True if the mail was sent successfully
- * @throws Exception If the mail could not be sent
+ * @throws \Exception If the mail could not be sent
* @since 30.0.0
*/
public function sendMailNotification(IShare $share): bool;