ProtectionForm: Add type hint to ::showLogExtract() header
[lhc/web/wiklou.git] / 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() ) );