mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 16:35:37 -05:00
Add Psalm specific scope type hint for the WFE operation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
ac1928cb8a
commit
9ae505cb7c
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Reference in a new issue