Add Psalm specific scope type hint for the WFE operation

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2021-11-22 08:42:40 +01:00
parent ac1928cb8a
commit 9ae505cb7c
No known key found for this signature in database
GPG key ID: CC42AC2A7F0E56D8

View file

@ -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;