summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2021-11-29 16:42:44 +0100
committerGitHub <noreply@github.com>2021-11-29 16:42:44 +0100
commit6fe5079e79f4556975169d991f3f53000ccef6d7 (patch)
treea94a3fd705cfe3c65550b5300c1085e8d2810971 /lib/public
parent44cc47df26a8f4b1ae3c3591054adf1666b35693 (diff)
parent9ae505cb7cdeb0519bdf4e9da577785fc1a655ce (diff)
downloadnextcloud-server-6fe5079e79f4556975169d991f3f53000ccef6d7.tar.gz
nextcloud-server-6fe5079e79f4556975169d991f3f53000ccef6d7.zip
Merge pull request #29830 from nextcloud/enhancement/wfe-operation-scope-psalm-type-hint
Add Psalm specific scope type hint for the WFE operation
Diffstat (limited to 'lib/public')
-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;