mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SpamBlacklist
synced 2024-11-23 22:54:57 +00:00
Remove not needed array type hint from hook handler
This parameter is not used anyway. It's possible it is null, as demonstrated in Id2caa44. Because this code does not need it anyway, it should not do any harm to remove this type hint. Change-Id: Id107501e6d62e567354c90e5d3aeec47dbf57298
This commit is contained in:
parent
6711370b08
commit
25e4813363
|
@ -192,7 +192,7 @@ class SpamBlacklistHooks {
|
|||
/**
|
||||
* @param UploadBase $upload
|
||||
* @param User $user
|
||||
* @param array $props
|
||||
* @param array|null $props
|
||||
* @param string $comment
|
||||
* @param string $pageText
|
||||
* @param array|ApiMessage &$error
|
||||
|
@ -201,7 +201,7 @@ class SpamBlacklistHooks {
|
|||
public static function onUploadVerifyUpload(
|
||||
UploadBase $upload,
|
||||
User $user,
|
||||
array $props,
|
||||
$props,
|
||||
$comment,
|
||||
$pageText,
|
||||
&$error
|
||||
|
|
Loading…
Reference in a new issue