MathRenderer, SpecialMathShowImage: Correct phpdoc

Change-Id: Ibce076dfb6bd3676e288cf2d762ebcb55606246d
This commit is contained in:
physikerwelt (Moritz Schubotz) 2014-12-09 23:30:55 +09:00 committed by Krinkle
parent 42f834660d
commit 9c0a2c28b9
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

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