Add Psalm specific scope type hint for the WFE operation

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pull/29830/head
Christoph Wurst 3 years ago
parent ac1928cb8a
commit 9ae505cb7c
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
  1. 3
      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;

Loading…
Cancel
Save