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();