Siebrand has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/275540

Change subject: Add type hint
......................................................................

Add type hint

Change-Id: I63cd30b52cd6dadd1e99f4d4ae22f4d2a27552eb
---
M CharInsert.body.php
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CharInsert 
refs/changes/40/275540/1

diff --git a/CharInsert.body.php b/CharInsert.body.php
index 7f96e85..07f390f 100644
--- a/CharInsert.body.php
+++ b/CharInsert.body.php
@@ -10,8 +10,10 @@
         * Things like edittools message are added to output directly,
         * instead of using something like OutputPage::addWikiText.
         * As a result, modules sometimes aren't transferred over.
+        * 
+        * @param OutputPage $out
         */
-       public static function onBeforePageDisplay( $out ) {
+       public static function onBeforePageDisplay( OutputPage $out ) {
                $addModules = false;
                $title = $out->getTitle();
                if ( $title->isSpecial( 'Upload' ) ) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I63cd30b52cd6dadd1e99f4d4ae22f4d2a27552eb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CharInsert
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>

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

Reply via email to