Completed
Push — master ( 9c0f17...2cd3f9 )
by adam
01:54
created
Includes/User.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -208,7 +208,6 @@
 block discarded – undo
208 208
 	 * @param bool $mailpassword If set to true, a random password will be emailed to the user. Default false.
209 209
 	 * @param string $reason Optional reason for creating the account to be put in the logs. Default null.
210 210
 	 * @param string $realname Real name of user (optional). Default null.
211
-	 * @param bool $tboverride Override the title blacklist.  Requires the tboverride right.  Default false.
212 211
 	 * @param string $language Language code to set as default for the user (optional, defaults to content language). Default null.
213 212
 	 * @param string $domain Domain for external authentication (optional). Default null.
214 213
 	 * @return bool True on success, false otherwise
Please login to merge, or discard this patch.
Plugins/RFA.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -201,10 +201,10 @@
 block discarded – undo
201 201
 
202 202
 	/**
203 203
 	 * Attempts to find a signature in $input. Returns the name of the user, false on failure.
204
-	 * @param $input
204
+	 * @param string $input
205 205
 	 * @param $iffy
206 206
 	 *
207
-	 * @return bool|string false if not found Signature, or the Signature if it is found
207
+	 * @return string|false false if not found Signature, or the Signature if it is found
208 208
 	 */
209 209
 	protected function findSigInLine( $input, &$iffy ) {
210 210
 		$iffy = 0;
Please login to merge, or discard this patch.
Plugins/Xml.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 	 * Convenience function to build an HTML text input field
170 170
 	 * @param string $name value of the name attribute
171 171
 	 * @param bool|int $size value of the size attribute
172
-	 * @param mixed $value mixed value of the value attribute
172
+	 * @param boolean $value mixed value of the value attribute
173 173
 	 * @param array $attribs other attributes
174 174
 	 * @return string HTML
175 175
 	 */
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
 	/**
203 203
 	 * Internal function for use in checkboxes and radio buttons and such.
204 204
 	 *
205
-	 * @param $name string
205
+	 * @param string $name string
206 206
 	 * @param $present bool
207 207
 	 *
208 208
 	 * @return array
@@ -292,14 +292,14 @@  discard block
 block discarded – undo
292 292
 	/**
293 293
 	 * Same as self::inputLabel() but return input and label in an array
294 294
 	 *
295
-	 * @param $label String
296
-	 * @param $name String
297
-	 * @param $id String
295
+	 * @param string $label String
296
+	 * @param string $name String
297
+	 * @param string $id String
298 298
 	 * @param $size Int|Bool
299 299
 	 * @param $value String|Bool
300 300
 	 * @param $attribs array
301 301
 	 *
302
-	 * @return array
302
+	 * @return string[]
303 303
 	 */
304 304
 	public static function inputLabelSep( $label, $name, $id, $size = false, $value = false, $attribs = array() ) {
305 305
 		return array(
@@ -1010,8 +1010,8 @@  discard block
 block discarded – undo
1010 1010
 	}
1011 1011
 
1012 1012
 	/**
1013
-	 * @param $name string
1014
-	 * @param $value
1013
+	 * @param string $name string
1014
+	 * @param boolean $value
1015 1015
 	 */
1016 1016
 	public function setAttribute( $name, $value ) {
1017 1017
 		$this->attributes[$name] = $value;
Please login to merge, or discard this patch.
HTTP.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
 	}
187 187
 
188 188
 	/**
189
-	 * @return string|bool Data. False on failure.
189
+	 * @return string Data. False on failure.
190 190
 	 * @throws CURLError
191 191
 	 */
192 192
 	private function doCurlExecWithRetrys() {
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
 	 * @param array $headers Array of headers to pass to curl
227 227
 	 * @param bool $verifyssl override for the global verifyssl value
228 228
 	 *
229
-	 * @return bool|string Result
229
+	 * @return string Result
230 230
 	 */
231 231
 	public function get( $url, $data = null, $headers = array(), $verifyssl = null ) {
232 232
 		global $argv, $displayGetOutData;
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
 	 *
281 281
 	 * @param string $url URL to send
282 282
 	 * @param array $data Array of data to pass.
283
-	 * @param array $headers Array of headers to pass to curl
283
+	 * @param string $headers Array of headers to pass to curl
284 284
 	 *
285 285
 	 * @param bool|null $verifyssl override for global verifyssl value
286 286
 	 *
Please login to merge, or discard this patch.
Includes/lime_test.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -644,7 +644,7 @@
 block discarded – undo
644 644
      * @param $file
645 645
      * @param $line
646 646
      * @param $context
647
-     * @return bool
647
+     * @return false|null
648 648
      *
649 649
      * @FIXME:  This method has inconsistent return types
650 650
      */
Please login to merge, or discard this patch.
Includes/limeOutput.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     }
48 48
 
49 49
     /**
50
-     * @param $message
50
+     * @param string $message
51 51
      * @param null $file
52 52
      * @param null $line
53 53
      * @param array $traces
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     /**
117 117
      * @param $message
118 118
      * @param null $colorizer_parameter
119
-     * @param bool|true $colorize
119
+     * @param boolean $colorize
120 120
      */
121 121
     public function echoln($message, $colorizer_parameter = null, $colorize = true)
122 122
     {
Please login to merge, or discard this patch.
Includes/Wiki.php 1 patch
Doc Comments   +8 added lines, -5 removed lines patch added patch discarded remove patch
@@ -656,6 +656,10 @@  discard block
 block discarded – undo
656 656
 		$this->nobotsTaskname = $taskname;
657 657
 	}
658 658
 
659
+	/**
660
+	 * @param string $method
661
+	 * @param boolean|string $url
662
+	 */
659 663
 	private function generateSignature( $method, $url, $params = array() ) {
660 664
 
661 665
 		$parts = parse_url( $url );
@@ -1375,7 +1379,7 @@  discard block
 block discarded – undo
1375 1379
 	 * Returns a list of recent changes
1376 1380
 	 *
1377 1381
 	 * @access public
1378
-	 * @param integer|array|string $namespace Namespace(s) to check
1382
+	 * @param integer $namespace Namespace(s) to check
1379 1383
 	 * @param string $pgTag Only list recent changes bearing this tag.
1380 1384
 	 * @param int $start Only list changes after this timestamp.
1381 1385
 	 * @param int $end Only list changes before this timestamp.
@@ -1960,7 +1964,7 @@  discard block
 block discarded – undo
1960 1964
 	 * Returns meta information about the wiki itself
1961 1965
 	 *
1962 1966
 	 * @access public
1963
-	 * @param array $prop Information to retrieve. Default: array( 'general', 'namespaces', 'namespacealiases', 'specialpagealiases', 'magicwords', 'interwikimap', 'dbrepllag', 'statistics', 'usergroups', 'extensions', 'fileextensions', 'rightsinfo', 'languages' )
1967
+	 * @param string[] $prop Information to retrieve. Default: array( 'general', 'namespaces', 'namespacealiases', 'specialpagealiases', 'magicwords', 'interwikimap', 'dbrepllag', 'statistics', 'usergroups', 'extensions', 'fileextensions', 'rightsinfo', 'languages' )
1964 1968
 	 * @param bool $iwfilter When used with prop 'interwikimap', returns only local or only nonlocal entries of the interwiki map. True = local, false = nonlocal. Default null
1965 1969
 	 * @return array
1966 1970
 	 */
@@ -2453,7 +2457,7 @@  discard block
 block discarded – undo
2453 2457
 	 *
2454 2458
 	 * @access public
2455 2459
 	 * @param mixed $title Title of the page (default: null)
2456
-	 * @param mixed $pageid ID of the page (default: null)
2460
+	 * @param integer|null $pageid ID of the page (default: null)
2457 2461
 	 * @param bool $followRedir Should it follow a redirect when retrieving the page (default: true)
2458 2462
 	 * @param bool $normalize Should the class automatically normalize the title (default: true)
2459 2463
 	 * @param string $timestamp Timestamp of a reference point in the program.  Used to detect edit conflicts.
@@ -2483,7 +2487,6 @@  discard block
 block discarded – undo
2483 2487
 	 * @access public
2484 2488
 	 * @param string $filename Filename
2485 2489
 	 * @param int $pageid Page ID of image
2486
-	 * @param array $prop Informatation to set. Default array( 'timestamp', 'user', 'comment', 'url', 'size', 'dimensions', 'sha1', 'mime', 'metadata', 'archivename', 'bitdepth' )
2487 2490
 	 * @return Image
2488 2491
 	 * @package initFunctions
2489 2492
 	 */
@@ -2642,7 +2645,7 @@  discard block
 block discarded – undo
2642 2645
 	 *
2643 2646
 	 * @param       string $action Name of action.
2644 2647
 	 * @param       null|string $title Name of page to check for nobots
2645
-	 * @param       null $pageidp
2648
+	 * @param       integer $pageidp
2646 2649
 	 *
2647 2650
 	 * @throws      AssertFailure
2648 2651
 	 * @throws      EditError
Please login to merge, or discard this patch.
Includes/Page.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1968,7 +1968,7 @@  discard block
 block discarded – undo
1968 1968
 	 * Returns the timestamp of the last edit
1969 1969
      *
1970 1970
      * @param   bool $force Regenerate the cached value (default: false)
1971
-     * @return  string
1971
+     * @return  integer
1972 1972
 	 */
1973 1973
 	public function get_lastedit( $force = false ) {
1974 1974
 		if( $force ) $this->get_metadata();
@@ -2110,7 +2110,7 @@  discard block
 block discarded – undo
2110 2110
 	 * @param string $summary Override the default edit summary for this rollback. Default null.
2111 2111
 	 * @param bool $markbot If set, both the rollback and the revisions being rolled back will be marked as bot edits.
2112 2112
      * @param string|bool $watch Unconditionally add or remove the page from your watchlist, use preferences or do not change watch. Default preferences.
2113
-	 * @return array Details of the rollback perform. ['revid']: The revision ID of the rollback. ['old_revid']: The revision ID of the first (most recent) revision that was rolled back. ['last_revid']: The revision ID of the last (oldest) revision that was rolled back.
2113
+	 * @return boolean Details of the rollback perform. ['revid']: The revision ID of the rollback. ['old_revid']: The revision ID of the first (most recent) revision that was rolled back. ['last_revid']: The revision ID of the last (oldest) revision that was rolled back.
2114 2114
 	 */
2115 2115
 	public function rollback( $force = false, $summary = null, $markbot = false, $watch = null ) {
2116 2116
 		global $pgNotag, $pgTag;
Please login to merge, or discard this patch.