Index: trunk/phase3/includes/Article.php |
— | — | @@ -188,7 +188,7 @@ |
189 | 189 | * This function has side effects! Do not use this function if you |
190 | 190 | * only want the real revision text if any. |
191 | 191 | * |
192 | | - * @return Return the text of this revision |
| 192 | + * @return string Return the text of this revision |
193 | 193 | */ |
194 | 194 | public function getContent() { |
195 | 195 | global $wgUser; |
— | — | @@ -1582,7 +1582,7 @@ |
1583 | 1583 | |
1584 | 1584 | /** |
1585 | 1585 | * Get parser options suitable for rendering the primary article wikitext |
1586 | | - * @return ParserOptions|false |
| 1586 | + * @return ParserOptions|bool |
1587 | 1587 | */ |
1588 | 1588 | public function getParserOptions() { |
1589 | 1589 | global $wgUser; |
Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -980,8 +980,8 @@ |
981 | 981 | * Throws a warning that $function is deprecated |
982 | 982 | * |
983 | 983 | * @param $function String |
984 | | - * @param $version String|false: Added in 1.19. |
985 | | - * @param $component String|false: Added in 1.19. |
| 984 | + * @param $version String|bool: Added in 1.19. |
| 985 | + * @param $component String|bool: Added in 1.19. |
986 | 986 | * |
987 | 987 | * @return null |
988 | 988 | */ |
— | — | @@ -3445,7 +3445,7 @@ |
3446 | 3446 | * Shortcut for RepoGroup::singleton()->findFile() |
3447 | 3447 | * |
3448 | 3448 | * @param $title String or Title object |
3449 | | - * @param $options Associative array of options: |
| 3449 | + * @param $options array Associative array of options: |
3450 | 3450 | * time: requested time for an archived image, or false for the |
3451 | 3451 | * current version. An image object will be returned which was |
3452 | 3452 | * created at the specified time. |
— | — | @@ -3806,7 +3806,7 @@ |
3807 | 3807 | * because php might make it negative. |
3808 | 3808 | * |
3809 | 3809 | * @throws MWException if $data not long enough, or if unpack fails |
3810 | | - * @return Associative array of the extracted data |
| 3810 | + * @return array Associative array of the extracted data |
3811 | 3811 | */ |
3812 | 3812 | function wfUnpack( $format, $data, $length=false ) { |
3813 | 3813 | if ( $length !== false ) { |
Index: trunk/phase3/includes/db/DatabaseMysql.php |
— | — | @@ -585,7 +585,7 @@ |
586 | 586 | /** |
587 | 587 | * Get the position of the master from SHOW SLAVE STATUS |
588 | 588 | * |
589 | | - * @return MySQLMasterPos|false |
| 589 | + * @return MySQLMasterPos|bool |
590 | 590 | */ |
591 | 591 | function getSlavePos() { |
592 | 592 | if ( !is_null( $this->mFakeSlaveLag ) ) { |
— | — | @@ -606,7 +606,7 @@ |
607 | 607 | /** |
608 | 608 | * Get the position of the master from SHOW MASTER STATUS |
609 | 609 | * |
610 | | - * @return MySQLMasterPos|false |
| 610 | + * @return MySQLMasterPos|bool |
611 | 611 | */ |
612 | 612 | function getMasterPos() { |
613 | 613 | if ( $this->mFakeMaster ) { |
Index: trunk/phase3/includes/db/DatabaseIbm_db2.php |
— | — | @@ -472,7 +472,7 @@ |
473 | 473 | * @param $user String |
474 | 474 | * @param $password String |
475 | 475 | * @param $dbName String: database name |
476 | | - * @return a fresh connection |
| 476 | + * @return DatabaseBase a fresh connection |
477 | 477 | */ |
478 | 478 | public function open( $server, $user, $password, $dbName ) { |
479 | 479 | wfProfileIn( __METHOD__ ); |
— | — | @@ -1279,11 +1279,11 @@ |
1280 | 1280 | * @param $conds Array or string, condition(s) for WHERE |
1281 | 1281 | * @param $fname String: calling function name (use __METHOD__) |
1282 | 1282 | * for logs/profiling |
1283 | | - * @param $options Associative array of options |
| 1283 | + * @param $options array Associative array of options |
1284 | 1284 | * (e.g. array( 'GROUP BY' => 'page_title' )), |
1285 | 1285 | * see Database::makeSelectOptions code for list of |
1286 | 1286 | * supported stuff |
1287 | | - * @param $join_conds Associative array of table join conditions (optional) |
| 1287 | + * @param $join_conds array Associative array of table join conditions (optional) |
1288 | 1288 | * (e.g. array( 'page' => array('LEFT JOIN', |
1289 | 1289 | * 'page_latest=rev_id') ) |
1290 | 1290 | * @return Mixed: database result resource for fetch functions or false |
— | — | @@ -1333,7 +1333,7 @@ |
1334 | 1334 | * |
1335 | 1335 | * @private |
1336 | 1336 | * |
1337 | | - * @param $options Associative array of options to be turned into |
| 1337 | + * @param $options array Associative array of options to be turned into |
1338 | 1338 | * an SQL query, valid keys are listed in the function. |
1339 | 1339 | * @return Array |
1340 | 1340 | */ |
Index: trunk/phase3/includes/db/Database.php |
— | — | @@ -2599,7 +2599,7 @@ |
2600 | 2600 | * |
2601 | 2601 | * @param $sql String SQL query we will append the limit too |
2602 | 2602 | * @param $limit Integer the SQL limit |
2603 | | - * @param $offset Integer|false the SQL offset (default false) |
| 2603 | + * @param $offset Integer|bool the SQL offset (default false) |
2604 | 2604 | * |
2605 | 2605 | * @return string |
2606 | 2606 | */ |
— | — | @@ -3009,7 +3009,7 @@ |
3010 | 3010 | * installations. Most callers should use LoadBalancer::safeGetLag() |
3011 | 3011 | * instead. |
3012 | 3012 | * |
3013 | | - * @return Database replication lag in seconds |
| 3013 | + * @return int Database replication lag in seconds |
3014 | 3014 | */ |
3015 | 3015 | function getLag() { |
3016 | 3016 | return intval( $this->mFakeSlaveLag ); |
— | — | @@ -3134,7 +3134,7 @@ |
3135 | 3135 | * ones in $GLOBALS. If an array is set here, $GLOBALS will not be used at |
3136 | 3136 | * all. If it's set to false, $GLOBALS will be used. |
3137 | 3137 | * |
3138 | | - * @param $vars False, or array mapping variable name to value. |
| 3138 | + * @param $vars bool|array mapping variable name to value. |
3139 | 3139 | */ |
3140 | 3140 | function setSchemaVars( $vars ) { |
3141 | 3141 | $this->mSchemaVars = $vars; |
Index: trunk/phase3/includes/db/DatabaseSqlite.php |
— | — | @@ -617,7 +617,7 @@ |
618 | 618 | * Get information about a given field |
619 | 619 | * Returns false if the field does not exist. |
620 | 620 | * |
621 | | - * @return SQLiteField|false |
| 621 | + * @return SQLiteField|bool |
622 | 622 | */ |
623 | 623 | function fieldInfo( $table, $field ) { |
624 | 624 | $tableName = $this->tableName( $table ); |
Index: trunk/phase3/includes/db/LoadBalancer.php |
— | — | @@ -385,7 +385,7 @@ |
386 | 386 | * Returns false if there is no connection open |
387 | 387 | * |
388 | 388 | * @param $i int |
389 | | - * @return DatabaseBase|false |
| 389 | + * @return DatabaseBase|bool |
390 | 390 | */ |
391 | 391 | function getAnyOpenConnection( $i ) { |
392 | 392 | foreach ( $this->mConns as $conns ) { |
Index: trunk/phase3/includes/filerepo/file/LocalFile.php |
— | — | @@ -620,7 +620,7 @@ |
621 | 621 | |
622 | 622 | /** |
623 | 623 | * Get all thumbnail names previously generated for this file |
624 | | - * @param $archiveName string|false Name of an archive file |
| 624 | + * @param $archiveName string|bool Name of an archive file |
625 | 625 | * @return array first element is the base dir, then files in that base dir. |
626 | 626 | */ |
627 | 627 | function getThumbnails( $archiveName = false ) { |
Index: trunk/phase3/includes/filerepo/file/File.php |
— | — | @@ -252,7 +252,7 @@ |
253 | 253 | /** |
254 | 254 | * Return the associated title object |
255 | 255 | * |
256 | | - * @return Title|false |
| 256 | + * @return Title|bool |
257 | 257 | */ |
258 | 258 | public function getTitle() { |
259 | 259 | return $this->title; |
— | — | @@ -329,7 +329,7 @@ |
330 | 330 | * Most callers don't check the return value, but ForeignAPIFile::getPath |
331 | 331 | * returns false. |
332 | 332 | * |
333 | | - * @return string|false |
| 333 | + * @return string|bool |
334 | 334 | */ |
335 | 335 | public function getPath() { |
336 | 336 | if ( !isset( $this->path ) ) { |
— | — | @@ -344,7 +344,7 @@ |
345 | 345 | * Returns false on failure. Callers must not alter the file. |
346 | 346 | * Temporary files are cleared automatically. |
347 | 347 | * |
348 | | - * @return string|false |
| 348 | + * @return string|bool |
349 | 349 | */ |
350 | 350 | public function getLocalRefPath() { |
351 | 351 | $this->assertRepoDefined(); |
— | — | @@ -774,7 +774,7 @@ |
775 | 775 | * @param $params Array: an associative array of handler-specific parameters. |
776 | 776 | * Typical keys are width, height and page. |
777 | 777 | * @param $flags Integer: a bitfield, may contain self::RENDER_NOW to force rendering |
778 | | - * @return MediaTransformOutput|false |
| 778 | + * @return MediaTransformOutput|bool |
779 | 779 | */ |
780 | 780 | function transform( $params, $flags = 0 ) { |
781 | 781 | global $wgUseSquid, $wgIgnoreImageErrors, $wgThumbnailEpoch; |
— | — | @@ -1329,7 +1329,7 @@ |
1330 | 1330 | /** |
1331 | 1331 | * Returns the repository |
1332 | 1332 | * |
1333 | | - * @return FileRepo|false |
| 1333 | + * @return FileRepo|bool |
1334 | 1334 | */ |
1335 | 1335 | function getRepo() { |
1336 | 1336 | return $this->repo; |
— | — | @@ -1418,7 +1418,7 @@ |
1419 | 1419 | * @param $versions array set of record ids of deleted items to restore, |
1420 | 1420 | * or empty to restore all revisions. |
1421 | 1421 | * @param $unsuppress bool remove restrictions on content upon restoration? |
1422 | | - * @return int|false the number of file revisions restored if successful, |
| 1422 | + * @return int|bool the number of file revisions restored if successful, |
1423 | 1423 | * or false on failure |
1424 | 1424 | * STUB |
1425 | 1425 | * Overridden by LocalFile |
— | — | @@ -1548,7 +1548,7 @@ |
1549 | 1549 | /** |
1550 | 1550 | * Get the 14-character timestamp of the file upload |
1551 | 1551 | * |
1552 | | - * @return string|false TS_MW timestamp or false on failure |
| 1552 | + * @return string|bool TS_MW timestamp or false on failure |
1553 | 1553 | */ |
1554 | 1554 | function getTimestamp() { |
1555 | 1555 | $this->assertRepoDefined(); |
Index: trunk/phase3/includes/filerepo/backend/lockmanager/DBLockManager.php |
— | — | @@ -245,7 +245,7 @@ |
246 | 246 | * Get (or reuse) a connection to a lock DB |
247 | 247 | * |
248 | 248 | * @param $lockDb string |
249 | | - * @return Database |
| 249 | + * @return DatabaseBase |
250 | 250 | * @throws DBError |
251 | 251 | */ |
252 | 252 | protected function getConnection( $lockDb ) { |
Index: trunk/phase3/includes/filerepo/backend/FileOp.php |
— | — | @@ -297,7 +297,7 @@ |
298 | 298 | * precheckDestExistence() helper function to get the source file SHA-1. |
299 | 299 | * Subclasses should overwride this iff the source is not in storage. |
300 | 300 | * |
301 | | - * @return string|false Returns false on failure |
| 301 | + * @return string|bool Returns false on failure |
302 | 302 | */ |
303 | 303 | protected function getSourceSha1Base36() { |
304 | 304 | return null; // N/A |
— | — | @@ -324,7 +324,7 @@ |
325 | 325 | * |
326 | 326 | * @param $source string Storage path |
327 | 327 | * @param $predicates Array |
328 | | - * @return string|false |
| 328 | + * @return string|bool |
329 | 329 | */ |
330 | 330 | final protected function fileSha1( $source, array $predicates ) { |
331 | 331 | if ( isset( $predicates['sha1'][$source] ) ) { |
Index: trunk/phase3/includes/filerepo/backend/SwiftFileBackend.php |
— | — | @@ -693,7 +693,7 @@ |
694 | 694 | /** |
695 | 695 | * Get a connection to the Swift proxy |
696 | 696 | * |
697 | | - * @return CF_Connection|false |
| 697 | + * @return CF_Connection|bool |
698 | 698 | * @throws InvalidResponseException |
699 | 699 | */ |
700 | 700 | protected function getConnection() { |
Index: trunk/phase3/includes/filerepo/backend/FileBackend.php |
— | — | @@ -406,7 +406,7 @@ |
407 | 407 | * latest : use the latest available data |
408 | 408 | * |
409 | 409 | * @param $params Array |
410 | | - * @return string|false TS_MW timestamp or false on failure |
| 410 | + * @return string|bool TS_MW timestamp or false on failure |
411 | 411 | */ |
412 | 412 | abstract public function getFileTimestamp( array $params ); |
413 | 413 | |
— | — | @@ -419,7 +419,7 @@ |
420 | 420 | * latest : use the latest available data |
421 | 421 | * |
422 | 422 | * @param $params Array |
423 | | - * @return string|false Returns false on failure |
| 423 | + * @return string|bool Returns false on failure |
424 | 424 | */ |
425 | 425 | abstract public function getFileContents( array $params ); |
426 | 426 | |
— | — | @@ -431,7 +431,7 @@ |
432 | 432 | * latest : use the latest available data |
433 | 433 | * |
434 | 434 | * @param $params Array |
435 | | - * @return integer|false Returns false on failure |
| 435 | + * @return integer|bool Returns false on failure |
436 | 436 | */ |
437 | 437 | abstract public function getFileSize( array $params ); |
438 | 438 | |
— | — | @@ -448,7 +448,7 @@ |
449 | 449 | * latest : use the latest available data |
450 | 450 | * |
451 | 451 | * @param $params Array |
452 | | - * @return Array|false|null Returns null on failure |
| 452 | + * @return Array|bool|null Returns null on failure |
453 | 453 | */ |
454 | 454 | abstract public function getFileStat( array $params ); |
455 | 455 | |
— | — | @@ -460,7 +460,7 @@ |
461 | 461 | * latest : use the latest available data |
462 | 462 | * |
463 | 463 | * @param $params Array |
464 | | - * @return string|false Hash string or false on failure |
| 464 | + * @return string|bool Hash string or false on failure |
465 | 465 | */ |
466 | 466 | abstract public function getFileSha1Base36( array $params ); |
467 | 467 | |
Index: trunk/phase3/includes/filerepo/RepoGroup.php |
— | — | @@ -65,7 +65,7 @@ |
66 | 66 | /** |
67 | 67 | * Construct a group of file repositories. |
68 | 68 | * |
69 | | - * @param $localInfo Associative array for local repo's info |
| 69 | + * @param $localInfo array Associative array for local repo's info |
70 | 70 | * @param $foreignInfo Array of repository info arrays. |
71 | 71 | * Each info array is an associative array with the 'class' member |
72 | 72 | * giving the class name. The entire array is passed to the repository |
Index: trunk/phase3/includes/filerepo/FileRepo.php |
— | — | @@ -295,7 +295,7 @@ |
296 | 296 | * private: If true, return restricted (deleted) files if the current |
297 | 297 | * user is allowed to view them. Otherwise, such files will not |
298 | 298 | * be found. |
299 | | - * @return File|false |
| 299 | + * @return File|bool |
300 | 300 | */ |
301 | 301 | public function findFile( $title, $options = array() ) { |
302 | 302 | $title = File::normalizeTitle( $title ); |
— | — | @@ -377,8 +377,8 @@ |
378 | 378 | * version control should return false if the time is specified. |
379 | 379 | * |
380 | 380 | * @param $sha1 String base 36 SHA-1 hash |
381 | | - * @param $options Option array, same as findFile(). |
382 | | - * @return File|false |
| 381 | + * @param $options array Option array, same as findFile(). |
| 382 | + * @return File|bool |
383 | 383 | */ |
384 | 384 | public function findFileFromKey( $sha1, $options = array() ) { |
385 | 385 | $time = isset( $options['time'] ) ? $options['time'] : false; |
— | — | @@ -419,7 +419,7 @@ |
420 | 420 | /** |
421 | 421 | * Get the public root URL of the repository |
422 | 422 | * |
423 | | - * @return string|false |
| 423 | + * @return string|bool |
424 | 424 | */ |
425 | 425 | public function getRootUrl() { |
426 | 426 | return $this->url; |
— | — | @@ -531,7 +531,7 @@ |
532 | 532 | * |
533 | 533 | * @param $query mixed Query string to append |
534 | 534 | * @param $entry string Entry point; defaults to index |
535 | | - * @return string|false |
| 535 | + * @return string|bool |
536 | 536 | */ |
537 | 537 | public function makeUrl( $query = '', $entry = 'index' ) { |
538 | 538 | if ( isset( $this->scriptDirUrl ) ) { |
— | — | @@ -611,7 +611,7 @@ |
612 | 612 | /** |
613 | 613 | * Get the URL of the stylesheet to apply to description pages |
614 | 614 | * |
615 | | - * @return string|false |
| 615 | + * @return string|bool |
616 | 616 | */ |
617 | 617 | public function getDescriptionStylesheetUrl() { |
618 | 618 | if ( isset( $this->scriptDirUrl ) ) { |
— | — | @@ -1188,7 +1188,7 @@ |
1189 | 1189 | * Get the timestamp of a file with a given virtual URL/storage path |
1190 | 1190 | * |
1191 | 1191 | * @param $virtualUrl string |
1192 | | - * @return string|false |
| 1192 | + * @return string|bool |
1193 | 1193 | */ |
1194 | 1194 | public function getFileTimestamp( $virtualUrl ) { |
1195 | 1195 | $path = $this->resolveToStoragePath( $virtualUrl ); |
— | — | @@ -1199,7 +1199,7 @@ |
1200 | 1200 | * Get the sha1 of a file with a given virtual URL/storage path |
1201 | 1201 | * |
1202 | 1202 | * @param $virtualUrl string |
1203 | | - * @return string|false |
| 1203 | + * @return string|bool |
1204 | 1204 | */ |
1205 | 1205 | public function getFileSha1( $virtualUrl ) { |
1206 | 1206 | $path = $this->resolveToStoragePath( $virtualUrl ); |
Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -1551,7 +1551,7 @@ |
1552 | 1552 | * |
1553 | 1553 | * @param $text string |
1554 | 1554 | * |
1555 | | - * @return string|false matching string or false |
| 1555 | + * @return string|bool matching string or false |
1556 | 1556 | */ |
1557 | 1557 | public static function matchSpamRegex( $text ) { |
1558 | 1558 | global $wgSpamRegex; |
— | — | @@ -1565,7 +1565,7 @@ |
1566 | 1566 | * |
1567 | 1567 | * @parma $text string |
1568 | 1568 | * |
1569 | | - * @return string|false matching string or false |
| 1569 | + * @return string|bool matching string or false |
1570 | 1570 | */ |
1571 | 1571 | public static function matchSummarySpamRegex( $text ) { |
1572 | 1572 | global $wgSummarySpamRegex; |
Index: trunk/phase3/includes/actions/HistoryAction.php |
— | — | @@ -69,7 +69,6 @@ |
70 | 70 | |
71 | 71 | /** |
72 | 72 | * Print the history page for an article. |
73 | | - * @return nothing |
74 | 73 | */ |
75 | 74 | function onView() { |
76 | 75 | global $wgScript, $wgUseFileCache, $wgSquidMaxage; |
— | — | @@ -108,7 +107,8 @@ |
109 | 108 | $feedType = $request->getVal( 'feed' ); |
110 | 109 | if ( $feedType ) { |
111 | 110 | wfProfileOut( __METHOD__ ); |
112 | | - return $this->feed( $feedType ); |
| 111 | + $this->feed( $feedType ); |
| 112 | + return; |
113 | 113 | } |
114 | 114 | |
115 | 115 | // Fail nicely if article doesn't exist. |
Index: trunk/phase3/includes/api/ApiQueryBase.php |
— | — | @@ -392,7 +392,7 @@ |
393 | 393 | * @param $name string Name to assign to the database connection |
394 | 394 | * @param $db int One of the DB_* constants |
395 | 395 | * @param $groups array Query groups |
396 | | - * @return Database |
| 396 | + * @return DatabaseBase |
397 | 397 | */ |
398 | 398 | public function selectNamedDB( $name, $db, $groups ) { |
399 | 399 | $this->mDb = $this->getQuery()->getNamedDB( $name, $db, $groups ); |
Index: trunk/phase3/includes/api/ApiQuery.php |
— | — | @@ -135,7 +135,7 @@ |
136 | 136 | |
137 | 137 | /** |
138 | 138 | * Gets a default slave database connection object |
139 | | - * @return Database |
| 139 | + * @return DatabaseBase |
140 | 140 | */ |
141 | 141 | public function getDB() { |
142 | 142 | if ( !isset( $this->mSlaveDB ) ) { |
Index: trunk/phase3/includes/api/ApiPageSet.php |
— | — | @@ -342,7 +342,7 @@ |
343 | 343 | |
344 | 344 | /** |
345 | 345 | * Populate this PageSet from a rowset returned from the database |
346 | | - * @param $db Database object |
| 346 | + * @param $db DatabaseBase object |
347 | 347 | * @param $queryResult ResultWrapper Query result object |
348 | 348 | */ |
349 | 349 | public function populateFromQueryResult( $db, $queryResult ) { |
Index: trunk/phase3/includes/BacklinkCache.php |
— | — | @@ -103,7 +103,7 @@ |
104 | 104 | /** |
105 | 105 | * Get the slave connection to the database |
106 | 106 | * When non existing, will initialize the connection. |
107 | | - * @return Database object |
| 107 | + * @return DatabaseBase object |
108 | 108 | */ |
109 | 109 | protected function getDB() { |
110 | 110 | if ( !isset( $this->db ) ) { |
Index: trunk/phase3/includes/cache/MessageCache.php |
— | — | @@ -696,7 +696,7 @@ |
697 | 697 | * @param $title String: Message cache key with initial uppercase letter. |
698 | 698 | * @param $code String: code denoting the language to try. |
699 | 699 | * |
700 | | - * @return string|false |
| 700 | + * @return string|bool |
701 | 701 | */ |
702 | 702 | function getMsgFromNamespace( $title, $code ) { |
703 | 703 | global $wgAdaptiveMessageCache; |
Index: trunk/phase3/includes/Autopromote.php |
— | — | @@ -32,7 +32,7 @@ |
33 | 33 | * |
34 | 34 | * Does not return groups the user already belongs to or has once belonged. |
35 | 35 | * |
36 | | - * @param $user The user to get the groups for |
| 36 | + * @param $user User The user to get the groups for |
37 | 37 | * @param $event String key in $wgAutopromoteOnce (each one has groups/criteria) |
38 | 38 | * |
39 | 39 | * @return array Groups the user should be promoted to. |
Index: trunk/phase3/includes/Block.php |
— | — | @@ -893,7 +893,7 @@ |
894 | 894 | * Encode expiry for DB |
895 | 895 | * |
896 | 896 | * @param $expiry String: timestamp for expiry, or |
897 | | - * @param $db Database object |
| 897 | + * @param $db DatabaseBase object |
898 | 898 | * @return String |
899 | 899 | * @deprecated since 1.18; use $dbw->encodeExpiry() instead |
900 | 900 | */ |
Index: trunk/phase3/includes/Action.php |
— | — | @@ -78,7 +78,7 @@ |
79 | 79 | * @param $action String |
80 | 80 | * @param $page Page |
81 | 81 | * @param $context IContextSource |
82 | | - * @return Action|false|null false if the action is disabled, null |
| 82 | + * @return Action|bool|null false if the action is disabled, null |
83 | 83 | * if it is not recognised |
84 | 84 | */ |
85 | 85 | public final static function factory( $action, Page $page, IContextSource $context = null ) { |
Index: trunk/phase3/includes/HistoryBlob.php |
— | — | @@ -179,8 +179,8 @@ |
180 | 180 | var $mOldId, $mHash, $mRef; |
181 | 181 | |
182 | 182 | /** |
183 | | - * @param $hash Strng: the content hash of the text |
184 | | - * @param $oldid Integer: the old_id for the CGZ object |
| 183 | + * @param $hash string the content hash of the text |
| 184 | + * @param $oldid Integer the old_id for the CGZ object |
185 | 185 | */ |
186 | 186 | function __construct( $hash = '', $oldid = 0 ) { |
187 | 187 | $this->mHash = $hash; |
— | — | @@ -298,7 +298,7 @@ |
299 | 299 | } |
300 | 300 | |
301 | 301 | /** |
302 | | - * @return string|false |
| 302 | + * @return string|bool |
303 | 303 | */ |
304 | 304 | function getText() { |
305 | 305 | $dbr = wfGetDB( DB_SLAVE ); |