diff options
author | Petr Pchelko <ppchelko@wikimedia.org> | 2021-03-15 19:37:57 -0600 |
---|---|---|
committer | Ppchelko <ppchelko@wikimedia.org> | 2021-03-18 02:10:45 +0000 |
commit | c04328bdef348033ca60bbceae2d2bbb78ab01f6 (patch) | |
tree | 0d10813d5169852d52ece829267a8e7aecfdb703 /includes/block/UnblockUserFactory.php | |
parent | 1d7acc3e7e14733a544202fd9a9e4fda525f249f (diff) | |
download | mediawikicore-c04328bdef348033ca60bbceae2d2bbb78ab01f6.tar.gz mediawikicore-c04328bdef348033ca60bbceae2d2bbb78ab01f6.zip |
Convert (Un)BlockUser to Authority
Change-Id: I5084b5523f15b7d55b2f5dc67ae19ec7059799ad
Diffstat (limited to 'includes/block/UnblockUserFactory.php')
-rw-r--r-- | includes/block/UnblockUserFactory.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/block/UnblockUserFactory.php b/includes/block/UnblockUserFactory.php index 8bfaa6ae2be1..67ccfd696b0b 100644 --- a/includes/block/UnblockUserFactory.php +++ b/includes/block/UnblockUserFactory.php @@ -21,6 +21,7 @@ namespace MediaWiki\Block; +use MediaWiki\Permissions\Authority; use User; /** @@ -29,7 +30,7 @@ use User; interface UnblockUserFactory { /** * @param User|string $target - * @param User $performer + * @param Authority $performer * @param string $reason * @param string[] $tags * @@ -37,7 +38,7 @@ interface UnblockUserFactory { */ public function newUnblockUser( $target, - User $performer, + Authority $performer, string $reason, array $tags = [] ) : UnblockUser; |