From 9c0a2c28b949f9fcfd8a2215e4d97905e391f0ad Mon Sep 17 00:00:00 2001 From: "physikerwelt (Moritz Schubotz)" Date: Tue, 9 Dec 2014 23:30:55 +0900 Subject: [PATCH] MathRenderer, SpecialMathShowImage: Correct phpdoc Change-Id: Ibce076dfb6bd3676e288cf2d762ebcb55606246d --- MathRenderer.php | 4 ++-- SpecialMathShowImage.php | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/MathRenderer.php b/MathRenderer.php index 651d244..7139da0 100644 --- a/MathRenderer.php +++ b/MathRenderer.php @@ -99,7 +99,7 @@ abstract class MathRenderer { /** * - * @param type $md5 + * @param string $md5 * @return MathRenderer the MathRenderer generated from md5 */ public static function newFromMd5( $md5 ) { @@ -652,7 +652,7 @@ abstract class MathRenderer { } /** - * @return string Userdefined ID + * @param string user defined ID */ public function setID( $id ) { // Changes in the ID affect the container for the math element on the current page diff --git a/SpecialMathShowImage.php b/SpecialMathShowImage.php index 5e70590..7b5fda1 100644 --- a/SpecialMathShowImage.php +++ b/SpecialMathShowImage.php @@ -16,8 +16,10 @@ class SpecialMathShowImage extends SpecialPage { false // Don't show on Special:SpecialPages - it's not useful interactively ); } + /** * Sets headers - this should be called from the execute() method of all derived classes! + * @param bool $success */ function setHeaders( $success = true ) { $out = $this->getOutput();