Addshore has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/396332 )

Change subject: PageContentSave WikiPage typehint
......................................................................

PageContentSave WikiPage typehint

Change-Id: I4471b67e0c91ef4d20717f09ffb0e4857cded57c
---
M includes/PageAssignmentsNotificationHooks.php
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpicePageAssignments 
refs/changes/32/396332/1

diff --git a/includes/PageAssignmentsNotificationHooks.php 
b/includes/PageAssignmentsNotificationHooks.php
index 621237e..4e598bf 100644
--- a/includes/PageAssignmentsNotificationHooks.php
+++ b/includes/PageAssignmentsNotificationHooks.php
@@ -152,7 +152,7 @@
 
        /**
         *
-        * @param Article $article
+        * @param WikiPage $wikiPage
         * @param user $user
         * @param Content $content
         * @param string $summary
@@ -165,8 +165,8 @@
         * @param int $baseRevId
         * @return boolean
         */
-       public static function onPageContentSaveComplete( &$article, &$user, 
$content, $summary, $minoredit, $watchthis, $sectionanchor, &$flags, $revision, 
&$status, $baseRevId ) {
-               PageAssignmentsNotificationHooks::notify( 
'bs-pageassignments-page-edit', $user, $article->getTitle() );
+       public static function onPageContentSaveComplete( WikiPage &$wikiPage, 
&$user, $content, $summary, $minoredit, $watchthis, $sectionanchor, &$flags, 
$revision, &$status, $baseRevId ) {
+               PageAssignmentsNotificationHooks::notify( 
'bs-pageassignments-page-edit', $user, $wikiPage->getTitle() );
                return true;
        }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/396332
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4471b67e0c91ef4d20717f09ffb0e4857cded57c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpicePageAssignments
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to