Completed
Push — master ( a65bfc...74ce99 )
by Maximilian
04:53
created
Includes/lime.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -682,6 +682,9 @@
 block discarded – undo
682 682
     echo $this->colorizer->colorize(sprintf('> %s', $message), 'INFO_BAR')."\n";
683 683
   }
684 684
 
685
+  /**
686
+   * @param string $message
687
+   */
685 688
   public function error($message, $file = null, $line = null, $traces = array())
686 689
   {
687 690
     if ($file !== null)
Please login to merge, or discard this patch.
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   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -168,6 +168,9 @@  discard block
 block discarded – undo
168 168
 		curl_setopt( $this->curl_instance, CURLOPT_COOKIEFILE, $cookie_file );
169 169
 	}
170 170
 
171
+	/**
172
+	 * @param string $user_agent
173
+	 */
171 174
 	public function setUserAgent($user_agent = null)
172 175
 	{
173 176
 		$this->user_agent = $user_agent;
@@ -178,7 +181,7 @@  discard block
 block discarded – undo
178 181
 	}
179 182
 
180 183
 	/**
181
-	 * @return string|bool Data. False on failure.
184
+	 * @return string Data. False on failure.
182 185
 	 * @throws CURLError
183 186
 	 */
184 187
 	private function doCurlExecWithRetrys() {
@@ -218,7 +221,7 @@  discard block
 block discarded – undo
218 221
 	 * @param array $headers Array of headers to pass to curl
219 222
 	 * @param bool $verifyssl override for the global verifyssl value
220 223
 	 *
221
-	 * @return bool|string Result
224
+	 * @return string Result
222 225
 	 */
223 226
 	public function get( $url, $data = null, $headers = array(), $verifyssl = null ) {
224 227
 		global $argv, $displayGetOutData;
@@ -272,7 +275,7 @@  discard block
 block discarded – undo
272 275
 	 *
273 276
 	 * @param string $url URL to send
274 277
 	 * @param array $data Array of data to pass.
275
-	 * @param array $headers Array of headers to pass to curl
278
+	 * @param string $headers Array of headers to pass to curl
276 279
 	 *
277 280
 	 * @param bool|null $verifyssl override for global verifyssl value
278 281
 	 *
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
@@ -655,6 +655,10 @@  discard block
 block discarded – undo
655 655
         $this->nobotsTaskname = $taskname;
656 656
     }
657 657
     
658
+    /**
659
+     * @param string $method
660
+     * @param boolean|string $url
661
+     */
658 662
     private function generateSignature( $method, $url, $params = array() ) {
659 663
 	    $parts = parse_url( $url );
660 664
 
@@ -1359,7 +1363,7 @@  discard block
 block discarded – undo
1359 1363
 	 * Returns a list of recent changes
1360 1364
 	 *
1361 1365
 	 * @access public
1362
-	 * @param integer|array|string $namespace Namespace(s) to check
1366
+	 * @param integer $namespace Namespace(s) to check
1363 1367
 	 * @param string $pgTag Only list recent changes bearing this tag.
1364 1368
 	 * @param int $start Only list changes after this timestamp.
1365 1369
 	 * @param int $end Only list changes before this timestamp.
@@ -1946,7 +1950,7 @@  discard block
 block discarded – undo
1946 1950
 	 * Returns meta information about the wiki itself
1947 1951
 	 *
1948 1952
 	 * @access public
1949
-	 * @param array $prop Information to retrieve. Default: array( 'general', 'namespaces', 'namespacealiases', 'specialpagealiases', 'magicwords', 'interwikimap', 'dbrepllag', 'statistics', 'usergroups', 'extensions', 'fileextensions', 'rightsinfo', 'languages' )
1953
+	 * @param string[] $prop Information to retrieve. Default: array( 'general', 'namespaces', 'namespacealiases', 'specialpagealiases', 'magicwords', 'interwikimap', 'dbrepllag', 'statistics', 'usergroups', 'extensions', 'fileextensions', 'rightsinfo', 'languages' )
1950 1954
 	 * @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
1951 1955
 	 * @return array
1952 1956
 	 */
@@ -2437,7 +2441,7 @@  discard block
 block discarded – undo
2437 2441
 	 *
2438 2442
 	 * @access public
2439 2443
 	 * @param mixed $title Title of the page (default: null)
2440
-	 * @param mixed $pageid ID of the page (default: null)
2444
+	 * @param integer|null $pageid ID of the page (default: null)
2441 2445
 	 * @param bool $followRedir Should it follow a redirect when retrieving the page (default: true)
2442 2446
 	 * @param bool $normalize Should the class automatically normalize the title (default: true)
2443 2447
 	 * @param string $timestamp Timestamp of a reference point in the program.  Used to detect edit conflicts.
@@ -2468,7 +2472,6 @@  discard block
 block discarded – undo
2468 2472
 	 * @access public
2469 2473
 	 * @param string $filename Filename
2470 2474
 	 * @param int $pageid Page ID of image
2471
-	 * @param array $prop Informatation to set. Default array( 'timestamp', 'user', 'comment', 'url', 'size', 'dimensions', 'sha1', 'mime', 'metadata', 'archivename', 'bitdepth' )
2472 2475
 	 * @return Image
2473 2476
 	 * @package initFunctions
2474 2477
 	 */
@@ -2627,7 +2630,7 @@  discard block
 block discarded – undo
2627 2630
      *
2628 2631
      * @param       string $action Name of action.
2629 2632
      * @param       null|string $title Name of page to check for nobots
2630
-     * @param       null $pageidp
2633
+     * @param       integer $pageidp
2631 2634
      * @throws      AssertFailure
2632 2635
      * @throws      EditError
2633 2636
      * @throws      LoggedOut
Please login to merge, or discard this patch.