diff options
author | skjnldsv <skjnldsv@protonmail.com> | 2024-07-09 11:09:01 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2024-07-12 20:14:30 +0200 |
commit | 30f9ef414ed3a6079354ea2204714216f4533dc9 (patch) | |
tree | 98048cf9bde9e00c58e07d62d4138555d4a9ba20 /lib | |
parent | 5ce4bb368fd1a76293508b3838ec3c003fdfd439 (diff) | |
download | nextcloud-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')
-rw-r--r-- | lib/composer/composer/autoload_classmap.php | 1 | ||||
-rw-r--r-- | lib/composer/composer/autoload_static.php | 1 | ||||
-rw-r--r-- | lib/composer/composer/installed.php | 4 | ||||
-rw-r--r-- | lib/private/Share20/DefaultShareProvider.php | 3 | ||||
-rw-r--r-- | lib/public/Share/IAttributes.php | 2 | ||||
-rw-r--r-- | lib/public/Share/IShareProviderWithNotification.php | 2 |
6 files changed, 8 insertions, 5 deletions
diff --git a/lib/composer/composer/autoload_classmap.php b/lib/composer/composer/autoload_classmap.php index c4a4484f0a6..4ee453f0260 100644 --- a/lib/composer/composer/autoload_classmap.php +++ b/lib/composer/composer/autoload_classmap.php @@ -682,6 +682,7 @@ return array( 'OCP\\Share\\IShare' => $baseDir . '/lib/public/Share/IShare.php', 'OCP\\Share\\IShareHelper' => $baseDir . '/lib/public/Share/IShareHelper.php', 'OCP\\Share\\IShareProvider' => $baseDir . '/lib/public/Share/IShareProvider.php', + 'OCP\\Share\\IShareProviderWithNotification' => $baseDir . '/lib/public/Share/IShareProviderWithNotification.php', 'OCP\\Share_Backend' => $baseDir . '/lib/public/Share_Backend.php', 'OCP\\Share_Backend_Collection' => $baseDir . '/lib/public/Share_Backend_Collection.php', 'OCP\\Share_Backend_File_Dependent' => $baseDir . '/lib/public/Share_Backend_File_Dependent.php', diff --git a/lib/composer/composer/autoload_static.php b/lib/composer/composer/autoload_static.php index 34b31711323..d6cbb1ac886 100644 --- a/lib/composer/composer/autoload_static.php +++ b/lib/composer/composer/autoload_static.php @@ -715,6 +715,7 @@ class ComposerStaticInit749170dad3f5e7f9ca158f5a9f04f6a2 'OCP\\Share\\IShare' => __DIR__ . '/../../..' . '/lib/public/Share/IShare.php', 'OCP\\Share\\IShareHelper' => __DIR__ . '/../../..' . '/lib/public/Share/IShareHelper.php', 'OCP\\Share\\IShareProvider' => __DIR__ . '/../../..' . '/lib/public/Share/IShareProvider.php', + 'OCP\\Share\\IShareProviderWithNotification' => __DIR__ . '/../../..' . '/lib/public/Share/IShareProviderWithNotification.php', 'OCP\\Share_Backend' => __DIR__ . '/../../..' . '/lib/public/Share_Backend.php', 'OCP\\Share_Backend_Collection' => __DIR__ . '/../../..' . '/lib/public/Share_Backend_Collection.php', 'OCP\\Share_Backend_File_Dependent' => __DIR__ . '/../../..' . '/lib/public/Share_Backend_File_Dependent.php', diff --git a/lib/composer/composer/installed.php b/lib/composer/composer/installed.php index efdbecf06c5..5fe8d8f7f49 100644 --- a/lib/composer/composer/installed.php +++ b/lib/composer/composer/installed.php @@ -3,7 +3,7 @@ 'name' => '__root__', 'pretty_version' => 'dev-master', 'version' => 'dev-master', - 'reference' => 'e0b9ff4fa255b4dd4c1e3881e26dff18053e129a', + 'reference' => 'b99276fdfbac6b1ff243807b8b5b8161f0f67a24', 'type' => 'library', 'install_path' => __DIR__ . '/../../../', 'aliases' => array(), @@ -13,7 +13,7 @@ '__root__' => array( 'pretty_version' => 'dev-master', 'version' => 'dev-master', - 'reference' => 'e0b9ff4fa255b4dd4c1e3881e26dff18053e129a', + 'reference' => 'b99276fdfbac6b1ff243807b8b5b8161f0f67a24', 'type' => 'library', 'install_path' => __DIR__ . '/../../../', 'aliases' => array(), diff --git a/lib/private/Share20/DefaultShareProvider.php b/lib/private/Share20/DefaultShareProvider.php index d1d818222e2..a2a6483f8d5 100644 --- a/lib/private/Share20/DefaultShareProvider.php +++ b/lib/private/Share20/DefaultShareProvider.php @@ -53,7 +53,8 @@ class DefaultShareProvider implements IShareProviderWithNotification { private IURLGenerator $urlGenerator, private ITimeFactory $timeFactory, private LoggerInterface $logger, - ) {} + ) { + } /** * Return the identifier of this provider. 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; |