diff options
author | DannyS712 <dannys712.wiki@gmail.com> | 2021-05-29 03:52:19 +0000 |
---|---|---|
committer | DannyS712 <dannys712.wiki@gmail.com> | 2021-05-29 03:52:43 +0000 |
commit | f76d30ee837bbcd3cab4a203fef726fdd55f6b03 (patch) | |
tree | 8072bcec75c92aac9662236a043504af93374940 /includes/block/UnblockUserFactory.php | |
parent | 1f55624dd2aedfaeb4dc3979bf74e33b6e12b685 (diff) | |
download | mediawikicore-f76d30ee837bbcd3cab4a203fef726fdd55f6b03.tar.gz mediawikicore-f76d30ee837bbcd3cab4a203fef726fdd55f6b03.zip |
UnblockUserFactory: document accepting UserIdentity
Implementation in UserBlockCommandFactory only needs
a UserIdentity, no need to document a full User object
Change-Id: I39dcb48bff9f5de8ff964f7ed8f9f2c7da4e4046
Diffstat (limited to 'includes/block/UnblockUserFactory.php')
-rw-r--r-- | includes/block/UnblockUserFactory.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/block/UnblockUserFactory.php b/includes/block/UnblockUserFactory.php index 67ccfd696b0b..bc1b9d3e104b 100644 --- a/includes/block/UnblockUserFactory.php +++ b/includes/block/UnblockUserFactory.php @@ -22,14 +22,14 @@ namespace MediaWiki\Block; use MediaWiki\Permissions\Authority; -use User; +use MediaWiki\User\UserIdentity; /** * @since 1.36 */ interface UnblockUserFactory { /** - * @param User|string $target + * @param UserIdentity|string $target * @param Authority $performer * @param string $reason * @param string[] $tags |