Completed
Branch master (dff332)
by
unknown
25:10
created
includes/filebackend/TempFSFile.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@
 block discarded – undo
34 34
 	/** @var array Map of (path => 1) for paths to delete on shutdown */
35 35
 	protected static $pathsCollect = null;
36 36
 
37
+	/**
38
+	 * @param string|false $path
39
+	 */
37 40
 	public function __construct( $path ) {
38 41
 		parent::__construct( $path );
39 42
 
Please login to merge, or discard this patch.
includes/cache/localisation/LCStoreCDB.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -130,6 +130,11 @@
 block discarded – undo
130 130
 		}
131 131
 	}
132 132
 
133
+	/**
134
+	 * @param string $code
135
+	 *
136
+	 * @return string
137
+	 */
133 138
 	protected function getFileName( $code ) {
134 139
 		if ( strval( $code ) === '' || strpos( $code, '/' ) !== false ) {
135 140
 			throw new MWException( __METHOD__ . ": Invalid language \"$code\"" );
Please login to merge, or discard this patch.
includes/cache/localisation/LocalisationCache.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -691,7 +691,7 @@
 block discarded – undo
691 691
 	 *
692 692
 	 * @param string $code
693 693
 	 * @param array $deps
694
-	 * @return array
694
+	 * @return string
695 695
 	 */
696 696
 	protected function readSourceFilesAndRegisterDeps( $code, &$deps ) {
697 697
 		global $IP;
Please login to merge, or discard this patch.
includes/specials/pagers/AllMessagesTablePager.php 1 patch
Doc Comments   +11 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,6 +97,10 @@  discard block
 block discarded – undo
97 97
 	 */
98 98
 	public $custom;
99 99
 
100
+	/**
101
+	 * @param SpecialAllMessages $page
102
+	 * @param Language $langObj
103
+	 */
100 104
 	function __construct( $page, $conds, $langObj = null ) {
101 105
 		parent::__construct( $page->getContext() );
102 106
 		$this->mIndexField = 'am_title';
@@ -223,6 +227,9 @@  discard block
 block discarded – undo
223 227
 		return $out;
224 228
 	}
225 229
 
230
+	/**
231
+	 * @param boolean $descending
232
+	 */
226 233
 	function getAllMessages( $descending ) {
227 234
 		$messageNames = Language::getLocalisationCache()->getSubitemList( 'en', 'messages' );
228 235
 
@@ -247,7 +254,7 @@  discard block
 block discarded – undo
247 254
 	 * @param array $messageNames
248 255
 	 * @param string $langcode What language code
249 256
 	 * @param bool $foreign Whether the $langcode is not the content language
250
-	 * @return array A 'pages' and 'talks' array with the keys of existing pages
257
+	 * @return string A 'pages' and 'talks' array with the keys of existing pages
251 258
 	 */
252 259
 	public static function getCustomisedStatuses( $messageNames, $langcode = 'en', $foreign = false ) {
253 260
 		// FIXME: This function should be moved to Language:: or something.
@@ -439,6 +446,9 @@  discard block
 block discarded – undo
439 446
 		return $arr;
440 447
 	}
441 448
 
449
+	/**
450
+	 * @param string $field
451
+	 */
442 452
 	function getCellAttrs( $field, $value ) {
443 453
 		if ( $this->mCurrentRow->am_customised && $field === 'am_title' ) {
444 454
 			return array( 'rowspan' => '2', 'class' => $field );
Please login to merge, or discard this patch.
includes/specials/pagers/CategoryPager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -179,6 +179,9 @@
 block discarded – undo
179 179
 		return Html::rawElement( 'li', null, $this->getLanguage()->specialList( $link, $count ) ) . "\n";
180 180
 	}
181 181
 
182
+	/**
183
+	 * @param string $from
184
+	 */
182 185
 	public function getStartForm( $from ) {
183 186
 		return Xml::tags(
184 187
 			'form',
Please login to merge, or discard this patch.
includes/specials/pagers/DeletedContribsPager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@
 block discarded – undo
35 35
 	 */
36 36
 	protected $mNavigationBar;
37 37
 
38
+	/**
39
+	 * @param string|null $target
40
+	 */
38 41
 	function __construct( IContextSource $context, $target, $namespace = false ) {
39 42
 		parent::__construct( $context );
40 43
 		$msgs = [ 'deletionlog', 'undeleteviewlink', 'diff' ];
Please login to merge, or discard this patch.
includes/specials/pagers/NewPagesPager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@
 block discarded – undo
32 32
 	 */
33 33
 	protected $mForm;
34 34
 
35
+	/**
36
+	 * @param SpecialNewpages $form
37
+	 */
35 38
 	function __construct( $form, FormOptions $opts ) {
36 39
 		parent::__construct( $form->getContext() );
37 40
 		$this->mForm = $form;
Please login to merge, or discard this patch.
includes/specials/pagers/ProtectedTitlesPager.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -198,6 +198,12 @@
 block discarded – undo
198 198
 class ProtectedTitlesPager extends AlphabeticPager {
199 199
 	public $mForm, $mConds;
200 200
 
201
+	/**
202
+	 * @param SpecialProtectedtitles $form
203
+	 * @param null|string $type
204
+	 * @param null|string $level
205
+	 * @param integer|null $namespace
206
+	 */
201 207
 	function __construct( $form, $conds = array(), $type, $level, $namespace,
202 208
 		$sizetype = '', $size = 0
203 209
 	) {
Please login to merge, or discard this patch.
includes/specials/SpecialDeletedContributions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
 	/**
129 129
 	 * Generates the subheading with links
130 130
 	 * @param User $userObj User object for the target
131
-	 * @return string Appropriately-escaped HTML to be output literally
131
+	 * @return Message Appropriately-escaped HTML to be output literally
132 132
 	 * @todo FIXME: Almost the same as contributionsSub in SpecialContributions.php. Could be combined.
133 133
 	 */
134 134
 	function getSubTitle( $userObj ) {
Please login to merge, or discard this patch.