Browse Source
Add Psalm specific scope type hint for the WFE operation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pull/29830/head
Christoph Wurst
4 years ago
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
1 changed files with
3 additions and
0 deletions
-
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; |
|
|
|
|