Merge "Remove some comments that literally repeat the code"

This commit is contained in:
jenkins-bot 2021-12-20 20:05:32 +00:00 committed by Gerrit Code Review
commit 8ff17077a2
4 changed files with 7 additions and 7 deletions

View file

@ -109,8 +109,8 @@ class SingleMenuEntry implements IMenuEntry {
/** /**
* Set the Menu entry icon * Set the Menu entry icon
* @param string|null $iconName Icon name * @param string|null $iconName
* @param string $iconType Icon type * @param string $iconType
* @param string $additionalClassNames Additional classes * @param string $additionalClassNames Additional classes
* @param string $iconPrefix either `wikimedia` or `minerva` * @param string $iconPrefix either `wikimedia` or `minerva`
* @return $this * @return $this

View file

@ -47,7 +47,7 @@ final class PageActionsDirector {
/** /**
* Director responsible for Page Actions menu building * Director responsible for Page Actions menu building
* *
* @param ToolbarBuilder $toolbarBuilder The toolbar builder * @param ToolbarBuilder $toolbarBuilder
* @param IOverflowBuilder $overflowBuilder The overflow menu builder * @param IOverflowBuilder $overflowBuilder The overflow menu builder
* @param MessageLocalizer $messageLocalizer Message localizer used to translate texts * @param MessageLocalizer $messageLocalizer Message localizer used to translate texts
*/ */

View file

@ -99,7 +99,7 @@ class ToolbarBuilder {
* @param User $user Currently logged in user * @param User $user Currently logged in user
* @param MessageLocalizer $msgLocalizer Message localizer to generate localized texts * @param MessageLocalizer $msgLocalizer Message localizer to generate localized texts
* @param IMinervaPagePermissions $permissions Minerva permissions system * @param IMinervaPagePermissions $permissions Minerva permissions system
* @param SkinOptions $skinOptions Skin options * @param SkinOptions $skinOptions
* @param SkinUserPageHelper $relevantUserPageHelper User Page helper. The * @param SkinUserPageHelper $relevantUserPageHelper User Page helper. The
* UserPageHelper passed should always be specific to the user page Title. If on a * UserPageHelper passed should always be specific to the user page Title. If on a
* user talk page, UserPageHelper should be instantiated with the user page * user talk page, UserPageHelper should be instantiated with the user page

View file

@ -45,7 +45,7 @@ final class MinervaPagePermissions implements IMinervaPagePermissions {
private $config; private $config;
/** /**
* @var User user object * @var User
*/ */
private $user; private $user;
@ -65,7 +65,7 @@ final class MinervaPagePermissions implements IMinervaPagePermissions {
private $languagesHelper; private $languagesHelper;
/** /**
* @var PermissionManager MediaWiki Core PermissionManager * @var PermissionManager
*/ */
private $permissionManager; private $permissionManager;
@ -76,7 +76,7 @@ final class MinervaPagePermissions implements IMinervaPagePermissions {
/** /**
* Initialize internal Minerva Permissions system * Initialize internal Minerva Permissions system
* @param SkinOptions $skinOptions Skin options` * @param SkinOptions $skinOptions
* @param LanguagesHelper $languagesHelper * @param LanguagesHelper $languagesHelper
* @param PermissionManager $permissionManager * @param PermissionManager $permissionManager
* @param IContentHandlerFactory $contentHandlerFactory * @param IContentHandlerFactory $contentHandlerFactory