Completed
Pull Request — master (#103)
by
unknown
02:36
created
Includes/Wiki.php 1 patch
Doc Comments   +9 added lines, -6 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
 
@@ -1360,7 +1364,7 @@  discard block
 block discarded – undo
1360 1364
 	 * Returns a list of recent changes
1361 1365
 	 *
1362 1366
 	 * @access public
1363
-	 * @param integer|array|string $namespace Namespace(s) to check
1367
+	 * @param integer $namespace Namespace(s) to check
1364 1368
 	 * @param string $pgTag Only list recent changes bearing this tag.
1365 1369
 	 * @param int $start Only list changes after this timestamp.
1366 1370
 	 * @param int $end Only list changes before this timestamp.
@@ -1947,7 +1951,7 @@  discard block
 block discarded – undo
1947 1951
 	 * Returns meta information about the wiki itself
1948 1952
 	 *
1949 1953
 	 * @access public
1950
-	 * @param array $prop Information to retrieve. Default: array( 'general', 'namespaces', 'namespacealiases', 'specialpagealiases', 'magicwords', 'interwikimap', 'dbrepllag', 'statistics', 'usergroups', 'extensions', 'fileextensions', 'rightsinfo', 'languages' )
1954
+	 * @param string[] $prop Information to retrieve. Default: array( 'general', 'namespaces', 'namespacealiases', 'specialpagealiases', 'magicwords', 'interwikimap', 'dbrepllag', 'statistics', 'usergroups', 'extensions', 'fileextensions', 'rightsinfo', 'languages' )
1951 1955
 	 * @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
1952 1956
 	 * @return array
1953 1957
 	 */
@@ -2439,7 +2443,7 @@  discard block
 block discarded – undo
2439 2443
 	 * @access public
2440 2444
 	 * @param mixed $title Title of the page (default: null)
2441 2445
 	 * @param mixed $pageid ID of the page (default: null)
2442
-	 * @return Page title resolution
2446
+	 * @return string title resolution
2443 2447
 	 * @package initFunctions
2444 2448
 	 */
2445 2449
 	public function &resolveTitle( $title = null, $pageid = null ) {
@@ -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.
@@ -2484,7 +2488,6 @@  discard block
 block discarded – undo
2484 2488
 	 * @access public
2485 2489
 	 * @param string $filename Filename
2486 2490
 	 * @param int $pageid Page ID of image
2487
-	 * @param array $prop Informatation to set. Default array( 'timestamp', 'user', 'comment', 'url', 'size', 'dimensions', 'sha1', 'mime', 'metadata', 'archivename', 'bitdepth' )
2488 2491
 	 * @return Image
2489 2492
 	 * @package initFunctions
2490 2493
 	 */
@@ -2643,7 +2646,7 @@  discard block
 block discarded – undo
2643 2646
      *
2644 2647
      * @param       string $action Name of action.
2645 2648
      * @param       null|string $title Name of page to check for nobots
2646
-     * @param       null $pageidp
2649
+     * @param       integer $pageidp
2647 2650
      * @throws      AssertFailure
2648 2651
      * @throws      EditError
2649 2652
      * @throws      LoggedOut
Please login to merge, or discard this patch.