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:
Thiemo Kreuz 2019-05-15 20:36:14 +02:00
parent 6711370b08
commit 25e4813363

View file

@ -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