Remove @param comments that literally repeat what the code says
[lhc/web/wiklou.git] / includes / actions / InfoAction.php
index d3ba0aa..cb01a9d 100644 (file)
@@ -128,7 +128,7 @@ class InfoAction extends FormlessAction {
                        // pageinfo-header-basic, pageinfo-header-edits, pageinfo-header-restrictions,
                        // pageinfo-header-properties, pageinfo-category-info
                        $content .= $this->makeHeader(
-                               $this->msg( "pageinfo-${header}" )->escaped(),
+                               $this->msg( "pageinfo-${header}" )->text(),
                                "mw-pageinfo-${header}"
                        ) . "\n";
                        $table = "\n";
@@ -153,6 +153,7 @@ class InfoAction extends FormlessAction {
         * Creates a header that can be added to the output.
         *
         * @param string $header The header text.
+        * @param string $canonicalId
         * @return string The HTML.
         */
        protected function makeHeader( $header, $canonicalId ) {
@@ -185,7 +186,7 @@ class InfoAction extends FormlessAction {
         * Adds a table to the content that will be added to the output.
         *
         * @param string $content The content that will be added to the output
-        * @param string $table The table
+        * @param string $table
         * @return string The content with the table added
         */
        protected function addTable( $content, $table ) {