From 9ae505cb7cdeb0519bdf4e9da577785fc1a655ce Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 22 Nov 2021 08:42:40 +0100 Subject: Add Psalm specific scope type hint for the WFE operation Signed-off-by: Christoph Wurst --- lib/public/WorkflowEngine/IOperation.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') 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; -- cgit v1.2.3