Remove non-helpful lines of documentation

These do nothing but repeating literally what the code already
says.

Change-Id: I93c4a60f190e17a845e37e48b1c0a80bde2292c0
This commit is contained in:
Thiemo Kreuz 2020-10-07 15:24:50 +02:00
parent 8539f75b54
commit e13781ce1f
3 changed files with 5 additions and 5 deletions

View file

@ -304,7 +304,7 @@ trait ApiParsoidTrait {
/**
* Get the page language from a title, using the content language as fallback on special pages
*
* @param Title $title Title
* @param Title $title
* @return Language Content language
*/
public static function getPageLanguage( Title $title ) : Language {

View file

@ -600,7 +600,7 @@ class ApiVisualEditor extends ApiBase {
/**
* Gets the relevant HTML for the latest log entry on a given title, including a full log link.
*
* @param Title $title Title
* @param Title $title
* @param array|string $types
* @return string
*/

View file

@ -750,7 +750,7 @@ class VisualEditorHooks {
/**
* Handler for the GetPreferences hook, to add and hide user preferences as configured
*
* @param User $user The user object
* @param User $user
* @param array &$preferences Their preferences object
*/
public static function onGetPreferences( User $user, array &$preferences ) {
@ -843,7 +843,7 @@ class VisualEditorHooks {
/**
* Handler for the GetBetaPreferences hook, to add and hide user beta preferences as configured
*
* @param User $user The user object
* @param User $user
* @param array &$preferences Their preferences object
*/
public static function onGetBetaPreferences( User $user, array &$preferences ) {
@ -1089,7 +1089,7 @@ class VisualEditorHooks {
* @param Article|null $article The page being viewed.
* @param OutputPage $output The page view.
* @param User $user The user-specific settings.
* @param WebRequest $request The request.
* @param WebRequest $request
* @param MediaWiki $mediaWiki Helper class.
*/
public static function onBeforeInitialize(