@@ -252,6 +252,7 @@ |
||
| 252 | 252 | * Wrap the body text with language information and identifiable element |
| 253 | 253 | * |
| 254 | 254 | * @param Title $title |
| 255 | + * @param string $html |
|
| 255 | 256 | * @return string html |
| 256 | 257 | */ |
| 257 | 258 | protected function wrapHTML( $title, $html ) { |
@@ -410,6 +410,11 @@ |
||
| 410 | 410 | return true; |
| 411 | 411 | } |
| 412 | 412 | |
| 413 | + /** |
|
| 414 | + * @param WatchedItem|null $item |
|
| 415 | + * @param string $force |
|
| 416 | + * @param integer $oldid |
|
| 417 | + */ |
|
| 413 | 418 | private function getNotificationTimestamp( User $user, Title $title, $item, $force, $oldid ) { |
| 414 | 419 | if ( !$oldid ) { |
| 415 | 420 | // No oldid given, assuming latest revision; clear the timestamp. |
@@ -408,7 +408,7 @@ discard block |
||
| 408 | 408 | * Returning true will generate errors indicating that the API module needs |
| 409 | 409 | * updating. |
| 410 | 410 | * |
| 411 | - * @return string|false |
|
| 411 | + * @return boolean |
|
| 412 | 412 | */ |
| 413 | 413 | public function needsToken() { |
| 414 | 414 | return false; |
@@ -421,7 +421,7 @@ discard block |
||
| 421 | 421 | * |
| 422 | 422 | * @since 1.24 |
| 423 | 423 | * @param array $params All supplied parameters for the module |
| 424 | - * @return string|array|null |
|
| 424 | + * @return string |
|
| 425 | 425 | */ |
| 426 | 426 | protected function getWebUITokenSalt( array $params ) { |
| 427 | 427 | return null; |
@@ -437,7 +437,7 @@ discard block |
||
| 437 | 437 | * RFC 7232 § 2.2 for semantics. |
| 438 | 438 | * - etag: Return an entity-tag representing the state of all resources involved |
| 439 | 439 | * in the request. Quotes must be included. See RFC 7232 § 2.3 for semantics. |
| 440 | - * @return string|boolean|null As described above, or null if no value is available. |
|
| 440 | + * @return string As described above, or null if no value is available. |
|
| 441 | 441 | */ |
| 442 | 442 | public function getConditionalRequestData( $condition ) { |
| 443 | 443 | return null; |
@@ -486,7 +486,7 @@ discard block |
||
| 486 | 486 | /** |
| 487 | 487 | * Get the parent of this module |
| 488 | 488 | * @since 1.25 |
| 489 | - * @return ApiBase|null |
|
| 489 | + * @return ApiMain |
|
| 490 | 490 | */ |
| 491 | 491 | public function getParent() { |
| 492 | 492 | return $this->isMain() ? null : $this->getMain(); |
@@ -621,6 +621,7 @@ discard block |
||
| 621 | 621 | /** |
| 622 | 622 | * Set the continuation manager |
| 623 | 623 | * @param ApiContinuationManager|null |
| 624 | + * @param ApiContinuationManager|null $manager |
|
| 624 | 625 | */ |
| 625 | 626 | public function setContinuationManager( $manager ) { |
| 626 | 627 | // Main module has setContinuationManager() method overridden |
@@ -704,6 +705,7 @@ discard block |
||
| 704 | 705 | * |
| 705 | 706 | * @param array $params User provided set of parameters, as from $this->extractRequestParams() |
| 706 | 707 | * @param string $required,... Names of parameters of which exactly one must be set |
| 708 | + * @param string $required |
|
| 707 | 709 | */ |
| 708 | 710 | public function requireOnlyOneParameter( $params, $required /*...*/ ) { |
| 709 | 711 | $required = func_get_args(); |
@@ -730,6 +732,7 @@ discard block |
||
| 730 | 732 | * |
| 731 | 733 | * @param array $params User provided set of parameters, as from $this->extractRequestParams() |
| 732 | 734 | * @param string $required,... Names of parameters of which at most one must be set |
| 735 | + * @param string $required |
|
| 733 | 736 | */ |
| 734 | 737 | public function requireMaxOneParameter( $params, $required /*...*/ ) { |
| 735 | 738 | $required = func_get_args(); |
@@ -753,6 +756,7 @@ discard block |
||
| 753 | 756 | * @since 1.23 |
| 754 | 757 | * @param array $params User provided set of parameters, as from $this->extractRequestParams() |
| 755 | 758 | * @param string $required,... Names of parameters of which at least one must be set |
| 759 | + * @param string $required |
|
| 756 | 760 | */ |
| 757 | 761 | public function requireAtLeastOneParameter( $params, $required /*...*/ ) { |
| 758 | 762 | $required = func_get_args(); |
@@ -2531,7 +2535,7 @@ discard block |
||
| 2531 | 2535 | * "apihelp-{$this->getModulePath()}-description". |
| 2532 | 2536 | * |
| 2533 | 2537 | * @deprecated since 1.25 |
| 2534 | - * @return Message|string|array |
|
| 2538 | + * @return boolean |
|
| 2535 | 2539 | */ |
| 2536 | 2540 | protected function getDescription() { |
| 2537 | 2541 | return false; |
@@ -2567,7 +2571,7 @@ discard block |
||
| 2567 | 2571 | * that value, and boolean false means "no examples". |
| 2568 | 2572 | * |
| 2569 | 2573 | * @deprecated since 1.25, use getExamplesMessages() instead |
| 2570 | - * @return bool|string|array |
|
| 2574 | + * @return boolean |
|
| 2571 | 2575 | */ |
| 2572 | 2576 | protected function getExamples() { |
| 2573 | 2577 | return false; |
@@ -2576,7 +2580,7 @@ discard block |
||
| 2576 | 2580 | /** |
| 2577 | 2581 | * Generates help message for this module, or false if there is no description |
| 2578 | 2582 | * @deprecated since 1.25 |
| 2579 | - * @return string|bool |
|
| 2583 | + * @return string |
|
| 2580 | 2584 | */ |
| 2581 | 2585 | public function makeHelpMsg() { |
| 2582 | 2586 | wfDeprecated( __METHOD__, '1.25' ); |
@@ -2686,7 +2690,7 @@ discard block |
||
| 2686 | 2690 | * Generates the parameter descriptions for this module, to be displayed in the |
| 2687 | 2691 | * module's help. |
| 2688 | 2692 | * @deprecated since 1.25 |
| 2689 | - * @return string|bool |
|
| 2693 | + * @return string|false |
|
| 2690 | 2694 | */ |
| 2691 | 2695 | public function makeHelpMsgParameters() { |
| 2692 | 2696 | wfDeprecated( __METHOD__, '1.25' ); |
@@ -2877,7 +2881,7 @@ discard block |
||
| 2877 | 2881 | |
| 2878 | 2882 | /** |
| 2879 | 2883 | * @deprecated since 1.25, always returns 0 |
| 2880 | - * @return float |
|
| 2884 | + * @return integer |
|
| 2881 | 2885 | */ |
| 2882 | 2886 | public function getProfileTime() { |
| 2883 | 2887 | wfDeprecated( __METHOD__, '1.25' ); |
@@ -2900,7 +2904,7 @@ discard block |
||
| 2900 | 2904 | |
| 2901 | 2905 | /** |
| 2902 | 2906 | * @deprecated since 1.25, always returns 0 |
| 2903 | - * @return float |
|
| 2907 | + * @return integer |
|
| 2904 | 2908 | */ |
| 2905 | 2909 | public function getProfileDBTime() { |
| 2906 | 2910 | wfDeprecated( __METHOD__, '1.25' ); |
@@ -187,7 +187,7 @@ discard block |
||
| 187 | 187 | |
| 188 | 188 | /** |
| 189 | 189 | * Fields in the image table |
| 190 | - * @return array |
|
| 190 | + * @return string[] |
|
| 191 | 191 | */ |
| 192 | 192 | static function selectFields() { |
| 193 | 193 | return [ |
@@ -1108,11 +1108,11 @@ discard block |
||
| 1108 | 1108 | |
| 1109 | 1109 | /** |
| 1110 | 1110 | * Upload a file and record it in the DB |
| 1111 | - * @param string|FSFile $src Source storage path, virtual URL, or filesystem path |
|
| 1111 | + * @param string $src Source storage path, virtual URL, or filesystem path |
|
| 1112 | 1112 | * @param string $comment Upload description |
| 1113 | 1113 | * @param string $pageText Text to use for the new description page, |
| 1114 | 1114 | * if a new description page is created |
| 1115 | - * @param int|bool $flags Flags for publish() |
|
| 1115 | + * @param integer $flags Flags for publish() |
|
| 1116 | 1116 | * @param array|bool $props File properties, if known. This can be used to |
| 1117 | 1117 | * reduce the upload time when uploading virtual URLs for which the file |
| 1118 | 1118 | * info is already known |
@@ -1799,7 +1799,7 @@ discard block |
||
| 1799 | 1799 | * it skips the parser cache. |
| 1800 | 1800 | * |
| 1801 | 1801 | * @param Language $lang What language to get description in (Optional) |
| 1802 | - * @return bool|mixed |
|
| 1802 | + * @return false|string |
|
| 1803 | 1803 | */ |
| 1804 | 1804 | function getDescriptionText( $lang = null ) { |
| 1805 | 1805 | $revision = Revision::newFromTitle( $this->title, false, Revision::READ_NORMAL ); |
@@ -1834,7 +1834,7 @@ discard block |
||
| 1834 | 1834 | } |
| 1835 | 1835 | |
| 1836 | 1836 | /** |
| 1837 | - * @return bool|string |
|
| 1837 | + * @return string |
|
| 1838 | 1838 | */ |
| 1839 | 1839 | function getTimestamp() { |
| 1840 | 1840 | $this->load(); |
@@ -1843,7 +1843,7 @@ discard block |
||
| 1843 | 1843 | } |
| 1844 | 1844 | |
| 1845 | 1845 | /** |
| 1846 | - * @return bool|string |
|
| 1846 | + * @return string|false |
|
| 1847 | 1847 | */ |
| 1848 | 1848 | public function getDescriptionTouched() { |
| 1849 | 1849 | // The DB lookup might return false, e.g. if the file was just deleted, or the shared DB repo |
@@ -220,7 +220,7 @@ discard block |
||
| 220 | 220 | * Get an explanatory message if this repo is read-only. |
| 221 | 221 | * This checks if an administrator disabled writes to the backend. |
| 222 | 222 | * |
| 223 | - * @return string|bool Returns false if the repo is not read-only |
|
| 223 | + * @return string|false Returns false if the repo is not read-only |
|
| 224 | 224 | */ |
| 225 | 225 | public function getReadOnlyReason() { |
| 226 | 226 | return $this->backend->getReadOnlyReason(); |
@@ -716,7 +716,7 @@ discard block |
||
| 716 | 716 | * |
| 717 | 717 | * @param string $query Query string to append |
| 718 | 718 | * @param string $entry Entry point; defaults to index |
| 719 | - * @return string|bool False on failure |
|
| 719 | + * @return string|false False on failure |
|
| 720 | 720 | */ |
| 721 | 721 | public function makeUrl( $query = '', $entry = 'index' ) { |
| 722 | 722 | if ( isset( $this->scriptDirUrl ) ) { |
@@ -797,7 +797,7 @@ discard block |
||
| 797 | 797 | /** |
| 798 | 798 | * Get the URL of the stylesheet to apply to description pages |
| 799 | 799 | * |
| 800 | - * @return string|bool False on failure |
|
| 800 | + * @return string|false False on failure |
|
| 801 | 801 | */ |
| 802 | 802 | public function getDescriptionStylesheetUrl() { |
| 803 | 803 | if ( isset( $this->scriptDirUrl ) ) { |
@@ -958,7 +958,7 @@ discard block |
||
| 958 | 958 | * |
| 959 | 959 | * @param string|FSFile $src Source file system path, storage path, or virtual URL |
| 960 | 960 | * @param string $dst Virtual URL or storage path |
| 961 | - * @param array|string|null $options An array consisting of a key named headers |
|
| 961 | + * @param string $options An array consisting of a key named headers |
|
| 962 | 962 | * listing extra headers. If a string, taken as content-disposition header. |
| 963 | 963 | * (Support for array of options new in 1.23) |
| 964 | 964 | * @return FileRepoStatus |
@@ -1158,7 +1158,7 @@ discard block |
||
| 1158 | 1158 | * Options to $options include: |
| 1159 | 1159 | * - headers : name/value map of HTTP headers to use in response to GET/HEAD requests |
| 1160 | 1160 | * |
| 1161 | - * @param string|FSFile $src The source file system path, storage path, or URL |
|
| 1161 | + * @param string $src The source file system path, storage path, or URL |
|
| 1162 | 1162 | * @param string $dstRel The destination relative path |
| 1163 | 1163 | * @param string $archiveRel The relative path where the existing file is to |
| 1164 | 1164 | * be archived, if there is one. Relative to the public zone root. |
@@ -430,7 +430,7 @@ discard block |
||
| 430 | 430 | * one is set. |
| 431 | 431 | * |
| 432 | 432 | * @since 1.25 |
| 433 | - * @return bool|string |
|
| 433 | + * @return boolean |
|
| 434 | 434 | */ |
| 435 | 435 | public function getCanonicalUrl() { |
| 436 | 436 | return $this->mCanonicalUrl; |
@@ -1610,7 +1610,7 @@ discard block |
||
| 1610 | 1610 | * Get the timestamp of displayed revision. |
| 1611 | 1611 | * This will be null if not filled by setRevisionTimestamp(). |
| 1612 | 1612 | * |
| 1613 | - * @return string|null |
|
| 1613 | + * @return string |
|
| 1614 | 1614 | */ |
| 1615 | 1615 | public function getRevisionTimestamp() { |
| 1616 | 1616 | return $this->mRevisionTimestamp; |
@@ -1619,7 +1619,7 @@ discard block |
||
| 1619 | 1619 | /** |
| 1620 | 1620 | * Set the displayed file version |
| 1621 | 1621 | * |
| 1622 | - * @param File|bool $file |
|
| 1622 | + * @param File $file |
|
| 1623 | 1623 | * @return mixed Previous value |
| 1624 | 1624 | */ |
| 1625 | 1625 | public function setFileVersion( $file ) { |
@@ -1965,7 +1965,7 @@ discard block |
||
| 1965 | 1965 | /** |
| 1966 | 1966 | * Get the list of cookies that will influence on the cache |
| 1967 | 1967 | * |
| 1968 | - * @return array |
|
| 1968 | + * @return string[] |
|
| 1969 | 1969 | */ |
| 1970 | 1970 | function getCacheVaryCookies() { |
| 1971 | 1971 | static $cookies; |
@@ -2332,7 +2332,7 @@ discard block |
||
| 2332 | 2332 | * indexing, clear the current text and redirect, set the page's title |
| 2333 | 2333 | * and optionally an custom HTML title (content of the "<title>" tag). |
| 2334 | 2334 | * |
| 2335 | - * @param string|Message $pageTitle Will be passed directly to setPageTitle() |
|
| 2335 | + * @param Message $pageTitle Will be passed directly to setPageTitle() |
|
| 2336 | 2336 | * @param string|Message $htmlTitle Will be passed directly to setHTMLTitle(); |
| 2337 | 2337 | * optional, if not passed the "<title>" attribute will be |
| 2338 | 2338 | * based on $pageTitle |
@@ -2358,8 +2358,8 @@ discard block |
||
| 2358 | 2358 | * showErrorPage( 'titlemsg', $messageObject ); |
| 2359 | 2359 | * showErrorPage( $titleMessageObject, $messageObject ); |
| 2360 | 2360 | * |
| 2361 | - * @param string|Message $title Message key (string) for page title, or a Message object |
|
| 2362 | - * @param string|Message $msg Message key (string) for page text, or a Message object |
|
| 2361 | + * @param string $title Message key (string) for page title, or a Message object |
|
| 2362 | + * @param string $msg Message key (string) for page text, or a Message object |
|
| 2363 | 2363 | * @param array $params Message parameters; ignored if $msg is a Message object |
| 2364 | 2364 | */ |
| 2365 | 2365 | public function showErrorPage( $title, $msg, $params = [] ) { |
@@ -2555,6 +2555,9 @@ discard block |
||
| 2555 | 2555 | } |
| 2556 | 2556 | } |
| 2557 | 2557 | |
| 2558 | + /** |
|
| 2559 | + * @param string $message |
|
| 2560 | + */ |
|
| 2558 | 2561 | public function showFatalError( $message ) { |
| 2559 | 2562 | $this->prepareErrorPage( $this->msg( 'internalerror' ) ); |
| 2560 | 2563 | |
@@ -2573,6 +2576,9 @@ discard block |
||
| 2573 | 2576 | $this->showFatalError( $this->msg( 'filerenameerror', $old, $new )->text() ); |
| 2574 | 2577 | } |
| 2575 | 2578 | |
| 2579 | + /** |
|
| 2580 | + * @param string $name |
|
| 2581 | + */ |
|
| 2576 | 2582 | public function showFileDeleteError( $name ) { |
| 2577 | 2583 | $this->showFatalError( $this->msg( 'filedeleteerror', $name )->text() ); |
| 2578 | 2584 | } |
@@ -2599,7 +2605,7 @@ discard block |
||
| 2599 | 2605 | * Add a "return to" link pointing to a specified title, |
| 2600 | 2606 | * or the title indicated in the request, or else the main page |
| 2601 | 2607 | * |
| 2602 | - * @param mixed $unused |
|
| 2608 | + * @param null|boolean $unused |
|
| 2603 | 2609 | * @param Title|string $returnto Title or String to return to |
| 2604 | 2610 | * @param string $returntoquery Query string for the return to link |
| 2605 | 2611 | */ |
@@ -3845,7 +3851,7 @@ discard block |
||
| 3845 | 3851 | * Caller is responsible for ensuring the file exists. Emits a PHP warning otherwise. |
| 3846 | 3852 | * |
| 3847 | 3853 | * @since 1.27 |
| 3848 | - * @param string $remotePath URL path prefix that points to $localPath |
|
| 3854 | + * @param string $remotePathPrefix URL path prefix that points to $localPath |
|
| 3849 | 3855 | * @param string $localPath File directory exposed at $remotePath |
| 3850 | 3856 | * @param string $file Path to target file relative to $localPath |
| 3851 | 3857 | * @return string URL |
@@ -738,7 +738,7 @@ discard block |
||
| 738 | 738 | } |
| 739 | 739 | |
| 740 | 740 | /** |
| 741 | - * @return array|string |
|
| 741 | + * @return string |
|
| 742 | 742 | */ |
| 743 | 743 | function getDefaultDateFormat() { |
| 744 | 744 | $df = self::$dataCache->getItem( $this->mCode, 'defaultDateFormat' ); |
@@ -922,7 +922,7 @@ discard block |
||
| 922 | 922 | } |
| 923 | 923 | |
| 924 | 924 | /** |
| 925 | - * @return array |
|
| 925 | + * @return string[] |
|
| 926 | 926 | */ |
| 927 | 927 | function getMonthNamesArray() { |
| 928 | 928 | $monthNames = [ '' ]; |
@@ -949,7 +949,7 @@ discard block |
||
| 949 | 949 | } |
| 950 | 950 | |
| 951 | 951 | /** |
| 952 | - * @return array |
|
| 952 | + * @return string[] |
|
| 953 | 953 | */ |
| 954 | 954 | function getMonthAbbreviationsArray() { |
| 955 | 955 | $monthNames = [ '' ]; |
@@ -1011,7 +1011,7 @@ discard block |
||
| 1011 | 1011 | * Pass through result from $dateTimeObj->format() |
| 1012 | 1012 | * @param DateTime|bool|null &$dateTimeObj |
| 1013 | 1013 | * @param string $ts |
| 1014 | - * @param DateTimeZone|bool|null $zone |
|
| 1014 | + * @param null|DateTimeZone $zone |
|
| 1015 | 1015 | * @param string $code |
| 1016 | 1016 | * @return string |
| 1017 | 1017 | */ |
@@ -1808,7 +1808,7 @@ discard block |
||
| 1808 | 1808 | * |
| 1809 | 1809 | * @param int $year |
| 1810 | 1810 | * |
| 1811 | - * @return string |
|
| 1811 | + * @return integer |
|
| 1812 | 1812 | */ |
| 1813 | 1813 | private static function hebrewYearStart( $year ) { |
| 1814 | 1814 | $a = intval( ( 12 * ( $year - 1 ) + 17 ) % 19 ); |
@@ -2596,7 +2596,7 @@ discard block |
||
| 2596 | 2596 | |
| 2597 | 2597 | /** |
| 2598 | 2598 | * @param array $matches |
| 2599 | - * @return mixed|string |
|
| 2599 | + * @return string |
|
| 2600 | 2600 | */ |
| 2601 | 2601 | function ucwordbreaksCallbackAscii( $matches ) { |
| 2602 | 2602 | return $this->ucfirst( $matches[1] ); |
@@ -2699,7 +2699,7 @@ discard block |
||
| 2699 | 2699 | |
| 2700 | 2700 | /** |
| 2701 | 2701 | * @param string $str |
| 2702 | - * @return mixed|string |
|
| 2702 | + * @return string |
|
| 2703 | 2703 | */ |
| 2704 | 2704 | function lcfirst( $str ) { |
| 2705 | 2705 | $o = ord( $str ); |
@@ -2718,7 +2718,7 @@ discard block |
||
| 2718 | 2718 | /** |
| 2719 | 2719 | * @param string $str |
| 2720 | 2720 | * @param bool $first |
| 2721 | - * @return mixed|string |
|
| 2721 | + * @return string |
|
| 2722 | 2722 | */ |
| 2723 | 2723 | function lc( $str, $first = false ) { |
| 2724 | 2724 | if ( function_exists( 'mb_strtolower' ) ) { |
@@ -2755,7 +2755,7 @@ discard block |
||
| 2755 | 2755 | |
| 2756 | 2756 | /** |
| 2757 | 2757 | * @param string $str |
| 2758 | - * @return mixed|string |
|
| 2758 | + * @return string |
|
| 2759 | 2759 | */ |
| 2760 | 2760 | function ucwords( $str ) { |
| 2761 | 2761 | if ( $this->isMultibyte( $str ) ) { |
@@ -2787,7 +2787,7 @@ discard block |
||
| 2787 | 2787 | * capitalize words at word breaks |
| 2788 | 2788 | * |
| 2789 | 2789 | * @param string $str |
| 2790 | - * @return mixed |
|
| 2790 | + * @return string |
|
| 2791 | 2791 | */ |
| 2792 | 2792 | function ucwordbreaks( $str ) { |
| 2793 | 2793 | if ( $this->isMultibyte( $str ) ) { |
@@ -2858,7 +2858,7 @@ discard block |
||
| 2858 | 2858 | } |
| 2859 | 2859 | |
| 2860 | 2860 | /** |
| 2861 | - * @return array |
|
| 2861 | + * @return string |
|
| 2862 | 2862 | */ |
| 2863 | 2863 | function fallback8bitEncoding() { |
| 2864 | 2864 | return self::$dataCache->getItem( $this->mCode, 'fallback8bitEncoding' ); |
@@ -4154,6 +4154,8 @@ discard block |
||
| 4154 | 4154 | * @param Title &$nt The title object of the link |
| 4155 | 4155 | * @param bool $ignoreOtherCond To disable other conditions when |
| 4156 | 4156 | * we need to transclude a template or update a category's link |
| 4157 | + * @param string $link |
|
| 4158 | + * @param Title $nt |
|
| 4157 | 4159 | */ |
| 4158 | 4160 | public function findVariantLink( &$link, &$nt, $ignoreOtherCond = false ) { |
| 4159 | 4161 | $this->mConverter->findVariantLink( $link, $nt, $ignoreOtherCond ); |
@@ -4469,7 +4471,7 @@ discard block |
||
| 4469 | 4471 | |
| 4470 | 4472 | /** |
| 4471 | 4473 | * @param string $talk |
| 4472 | - * @return mixed |
|
| 4474 | + * @return string |
|
| 4473 | 4475 | */ |
| 4474 | 4476 | function fixVariableInNamespace( $talk ) { |
| 4475 | 4477 | if ( strpos( $talk, '$1' ) === false ) { |
@@ -4545,7 +4547,7 @@ discard block |
||
| 4545 | 4547 | |
| 4546 | 4548 | /** |
| 4547 | 4549 | * @todo Document |
| 4548 | - * @param int|float $seconds |
|
| 4550 | + * @param double $seconds |
|
| 4549 | 4551 | * @param array $format Optional |
| 4550 | 4552 | * If $format['avoid'] === 'avoidseconds': don't mention seconds if $seconds >= 1 hour. |
| 4551 | 4553 | * If $format['avoid'] === 'avoidminutes': don't mention seconds/minutes if $seconds > 48 hours. |
@@ -4714,7 +4716,7 @@ discard block |
||
| 4714 | 4716 | * @param string $details HTML safe text between brackets |
| 4715 | 4717 | * @param bool $oppositedm Add the direction mark opposite to your |
| 4716 | 4718 | * language, to display text properly |
| 4717 | - * @return HTML escaped string |
|
| 4719 | + * @return string escaped string |
|
| 4718 | 4720 | */ |
| 4719 | 4721 | function specialList( $page, $details, $oppositedm = true ) { |
| 4720 | 4722 | if ( !$details ) { |
@@ -4799,7 +4801,7 @@ discard block |
||
| 4799 | 4801 | /** |
| 4800 | 4802 | * Get the conversion rule title, if any. |
| 4801 | 4803 | * |
| 4802 | - * @return string |
|
| 4804 | + * @return boolean |
|
| 4803 | 4805 | */ |
| 4804 | 4806 | public function getConvRuleTitle() { |
| 4805 | 4807 | return $this->mConverter->getConvRuleTitle(); |