Addshore has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/396356 )
Change subject: PageContentSave WikiPage typehint
......................................................................
PageContentSave WikiPage typehint
Change-Id: I27e34275f49fa707099a87f4ccbfe6dac726a30e
---
M src/reCaptchaHooks.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/reCaptcha
refs/changes/56/396356/1
diff --git a/src/reCaptchaHooks.php b/src/reCaptchaHooks.php
index 7373ada..18b7e70 100644
--- a/src/reCaptchaHooks.php
+++ b/src/reCaptchaHooks.php
@@ -50,7 +50,7 @@
}
/**
- * @param $wikiPage
+ * @param \WikiPage $wikiPage
* @param \User $user
* @param $content
* @param $summary
@@ -62,7 +62,7 @@
*
* @return bool
*/
- public function onPageContentSave( $wikiPage, $user, $content, $summary,
+ public function onPageContentSave( \WikiPage $wikiPage, $user,
$content, $summary,
$isMinor, $isWatch, $section, $flags, $status )
{
--
To view, visit https://gerrit.wikimedia.org/r/396356
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I27e34275f49fa707099a87f4ccbfe6dac726a30e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/reCaptcha
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits