mirror of
https://github.com/nextcloud/server.git
synced 2026-07-15 21:03:00 -04:00
Merge pull request #23746 from nextcloud/enhancement/iusermanager-callforseenusers-typed-closure
Type the \OCP\IUserManager::callForSeenUsers closure with Psalm
This commit is contained in:
commit
b5f75ccdd8
2 changed files with 2 additions and 0 deletions
|
|
@ -547,6 +547,7 @@ class Manager extends PublicEmitter implements IUserManager {
|
|||
|
||||
/**
|
||||
* @param \Closure $callback
|
||||
* @psalm-param \Closure(\OCP\IUser):?bool $callback
|
||||
* @since 11.0.0
|
||||
*/
|
||||
public function callForSeenUsers(\Closure $callback) {
|
||||
|
|
|
|||
|
|
@ -179,6 +179,7 @@ interface IUserManager {
|
|||
|
||||
/**
|
||||
* @param \Closure $callback
|
||||
* @psalm-param \Closure(\OCP\IUser):?bool $callback
|
||||
* @since 11.0.0
|
||||
*/
|
||||
public function callForSeenUsers(\Closure $callback);
|
||||
|
|
|
|||
Loading…
Reference in a new issue