From b1e5d329081102bf8c187690d99c6ee3e519ef08 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sat, 16 Aug 2014 20:49:41 +0200 Subject: [PATCH] Remove unmatched @param There is no method parameter for this @param Change-Id: I42d1e3439e5b767be09920d536bee34bcd017ec9 --- includes/MWTimestamp.php | 1 - includes/filerepo/RepoGroup.php | 6 +----- includes/jobqueue/jobs/DoubleRedirectJob.php | 1 - 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/includes/MWTimestamp.php b/includes/MWTimestamp.php index bc59588dce..26f5e54370 100644 --- a/includes/MWTimestamp.php +++ b/includes/MWTimestamp.php @@ -238,7 +238,6 @@ class MWTimestamp { * @since 1.22 * * @param User $user User to take preferences from - * @param[out] MWTimestamp $ts Timestamp to adjust * @return DateInterval Offset that was applied to the timestamp */ public function offsetForUser( User $user ) { diff --git a/includes/filerepo/RepoGroup.php b/includes/filerepo/RepoGroup.php index 0f80e16121..8c0c7810fb 100644 --- a/includes/filerepo/RepoGroup.php +++ b/includes/filerepo/RepoGroup.php @@ -170,7 +170,7 @@ class RepoGroup { /** * Search repositories for many files at once. * - * @param array $items An array of titles, or an array of findFile() options with + * @param array $inputItems An array of titles, or an array of findFile() options with * the "title" option giving the title. Example: * * $findItem = array( 'title' => $title, 'private' => true ); @@ -183,10 +183,6 @@ class RepoGroup { * The search title uses the input titles; the other is the final post-redirect title. * All titles are returned as string DB keys and the inner array is associative. * @return array Map of (file name => File objects) for matches - * - * @param array $inputItems - * @param int $flags - * @return array */ function findFiles( array $inputItems, $flags = 0 ) { if ( !$this->reposInitialised ) { diff --git a/includes/jobqueue/jobs/DoubleRedirectJob.php b/includes/jobqueue/jobs/DoubleRedirectJob.php index 34c302e900..2561f2f198 100644 --- a/includes/jobqueue/jobs/DoubleRedirectJob.php +++ b/includes/jobqueue/jobs/DoubleRedirectJob.php @@ -84,7 +84,6 @@ class DoubleRedirectJob extends Job { /** * @param Title $title * @param array|bool $params - * @param int $id */ function __construct( $title, $params = false ) { parent::__construct( 'fixDoubleRedirect', $title, $params ); -- 2.20.1