Merge "ProtectionForm: Add type hint to ::showLogExtract() header"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sun, 10 Mar 2019 23:37:07 +0000 (23:37 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sun, 10 Mar 2019 23:37:07 +0000 (23:37 +0000)
includes/ProtectionForm.php

index 6ce7ef4..0e18e46 100644 (file)
@@ -622,10 +622,10 @@ class ProtectionForm {
        /**
         * Show protection long extracts for this page
         *
-        * @param OutputPage &$out
+        * @param OutputPage $out
         * @private
         */
-       function showLogExtract( &$out ) {
+       function showLogExtract( OutputPage $out ) {
                # Show relevant lines from the protection log:
                $protectLogPage = new LogPage( 'protect' );
                $out->addHTML( Xml::element( 'h2', null, $protectLogPage->getName()->text() ) );