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

Change subject: VisualEditorHooks#onDiffViewHeader: Don't add type hint as the 
hook sucks
......................................................................

VisualEditorHooks#onDiffViewHeader: Don't add type hint as the hook sucks

It'd be nice if the hook didn't.

Bug: T169132
Change-Id: Iabe75448bbedebf8164d9c8223a4d59d0281e66e
---
M VisualEditor.hooks.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor 
refs/changes/38/361938/1

diff --git a/VisualEditor.hooks.php b/VisualEditor.hooks.php
index 3d3eaaa..1415e4b 100644
--- a/VisualEditor.hooks.php
+++ b/VisualEditor.hooks.php
@@ -79,8 +79,8 @@
 
        public static function onDiffViewHeader(
                DifferenceEngine $diff,
-               Revision $oldRev,
-               Revision $newRev
+               /* Revision */ $oldRev,
+               /* Revision */ $newRev
        ) {
                $config = ConfigFactory::getDefaultInstance()->makeConfig( 
'visualeditor' );
                $output = RequestContext::getMain()->getOutput();

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iabe75448bbedebf8164d9c8223a4d59d0281e66e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Jforrester <jforres...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to