Remove non-helpful comments

Documenting protected members as protected members is not really helpful.
One can see this by looking at the code.

Same for documenting a variable named "$html…" as "HTML". This does not
add anything.

Change-Id: I72364b6857166d77b9c85aa884cd139dc163c6bb
This commit is contained in:
Thiemo Kreuz 2018-04-13 15:32:05 +02:00
parent 82e4283f02
commit 3f0398e031
5 changed files with 2 additions and 13 deletions

View File

@ -10,13 +10,9 @@
class MathChemSymbolsDataModule extends ResourceLoaderModule {
/* Protected Members */
protected $origin = self::ORIGIN_USER_SITEWIDE;
protected $targets = [ 'desktop', 'mobile' ];
/* Methods */
public function getScript( ResourceLoaderContext $context ) {
return 've.ui.MWChemDialog.static.setSymbols(' .
file_get_contents( __DIR__ . '/modules/ve-math/chemSymbols.json' ) .

View File

@ -80,8 +80,8 @@ class MathFormatter implements ValueFormatter {
/**
* Constructs a detailed HTML rendering for use in diff views.
*
* @param string $valueHtml HTML
* @param string $tex TeX
* @param string $valueHtml
* @param string $tex
*
* @return string HTML
*/

View File

@ -10,13 +10,9 @@
class MathMathSymbolsDataModule extends ResourceLoaderModule {
/* Protected Members */
protected $origin = self::ORIGIN_USER_SITEWIDE;
protected $targets = [ 'desktop', 'mobile' ];
/* Methods */
public function getScript( ResourceLoaderContext $context ) {
return 've.ui.MWMathDialog.static.setSymbols(' .
file_get_contents( __DIR__ . '/modules/ve-math/mathSymbols.json' ) .

View File

@ -121,7 +121,6 @@ abstract class MathRenderer {
}
/**
*
* @param string $md5
* @return MathRenderer the MathRenderer generated from md5
*/
@ -555,7 +554,6 @@ abstract class MathRenderer {
}
/**
*
* @param string $mathStyle ('inlineDisplaystyle'|'display'|'inline')
*/
public function setMathStyle( $mathStyle = 'display' ) {

View File

@ -34,7 +34,6 @@ class MathMLRdfBuilderTest extends MediaWikiTestCase {
}
/**
*
* @param string $test
* @return string
*/