Completed
Push — master ( 182d24...7ff64a )
by adam
02:46
created
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.