summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDaniel <mail@danielkesselberg.de>2023-01-25 12:44:01 +0100
committerGitHub <noreply@github.com>2023-01-25 12:44:01 +0100
commit75e8636ef212bfddff8e7d9336ccd8d868ed2b01 (patch)
treed4703ab3bdb6de58e0da17b721e69e9b871b1155 /lib
parenta249c633a0c631f7717d96f7019702ce950c1af5 (diff)
parent258c919b3c2a5211b4c792c41e37d0bad8d451ea (diff)
downloadnextcloud-server-75e8636ef212bfddff8e7d9336ccd8d868ed2b01.tar.gz
nextcloud-server-75e8636ef212bfddff8e7d9336ccd8d868ed2b01.zip
Merge pull request #36187 from nextcloud/psalm-ocp-since-checker
ci: migrate ocp since checker to psalm
Diffstat (limited to 'lib')
-rw-r--r--lib/public/Dashboard/RegisterWidgetEvent.php4
-rw-r--r--lib/public/Files/Storage.php4
-rw-r--r--lib/public/Group/Backend/ABackend.php1
-rw-r--r--lib/public/User/Backend/ABackend.php1
4 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/Dashboard/RegisterWidgetEvent.php b/lib/public/Dashboard/RegisterWidgetEvent.php
index 289de8e965d..f0bf049571a 100644
--- a/lib/public/Dashboard/RegisterWidgetEvent.php
+++ b/lib/public/Dashboard/RegisterWidgetEvent.php
@@ -41,6 +41,10 @@ use OCP\EventDispatcher\Event;
class RegisterWidgetEvent extends Event {
private $manager;
+ /**
+ * @param IManager $manager
+ * @since 20.0.0
+ */
public function __construct(IManager $manager) {
parent::__construct();
diff --git a/lib/public/Files/Storage.php b/lib/public/Files/Storage.php
index f3812396c5b..a0acb4508d2 100644
--- a/lib/public/Files/Storage.php
+++ b/lib/public/Files/Storage.php
@@ -462,5 +462,9 @@ interface Storage extends IStorage {
*/
public function setAvailability($isAvailable);
+ /**
+ * @since 12.0.0
+ * @return mixed
+ */
public function needsPartFile();
}
diff --git a/lib/public/Group/Backend/ABackend.php b/lib/public/Group/Backend/ABackend.php
index e5b7f78ac6a..7f5cf732335 100644
--- a/lib/public/Group/Backend/ABackend.php
+++ b/lib/public/Group/Backend/ABackend.php
@@ -33,6 +33,7 @@ use OCP\GroupInterface;
abstract class ABackend implements GroupInterface {
/**
* @deprecated 14.0.0
+ * @since 14.0.0
*
* @param int $actions The action to check for
* @return bool
diff --git a/lib/public/User/Backend/ABackend.php b/lib/public/User/Backend/ABackend.php
index 2b246dc0acf..417b14cfb36 100644
--- a/lib/public/User/Backend/ABackend.php
+++ b/lib/public/User/Backend/ABackend.php
@@ -36,6 +36,7 @@ use OCP\UserInterface;
abstract class ABackend implements IUserBackend, UserInterface {
/**
* @deprecated 14.0.0
+ * @since 14.0.0
*
* @param int $actions The action to check for
* @return bool