summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-11-22 08:42:40 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-11-22 08:42:40 +0100
commit9ae505cb7cdeb0519bdf4e9da577785fc1a655ce (patch)
tree70424d010d6577d89fff66ca31e6de8226136de1 /lib
parentac1928cb8ae79b4dc99f54a4a0d56631f1d595e8 (diff)
downloadnextcloud-server-9ae505cb7cdeb0519bdf4e9da577785fc1a655ce.tar.gz
nextcloud-server-9ae505cb7cdeb0519bdf4e9da577785fc1a655ce.zip
Add Psalm specific scope type hint for the WFE operation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib')
-rw-r--r--lib/public/WorkflowEngine/IOperation.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/public/WorkflowEngine/IOperation.php b/lib/public/WorkflowEngine/IOperation.php
index 3ef810438e0..42aa93140f8 100644
--- a/lib/public/WorkflowEngine/IOperation.php
+++ b/lib/public/WorkflowEngine/IOperation.php
@@ -73,6 +73,9 @@ interface IOperation {
* user scope is permitted, the default behaviour should return `true`,
* otherwise `false`.
*
+ * @param int $scope
+ * @psalm-param IManager::SCOPE_* $scope
+ *
* @since 18.0.0
*/
public function isAvailableForScope(int $scope): bool;