X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FTitle.php;h=3891c82418e437f7da7978fceda2cba6e87b8103;hb=166389272390f58ea04886d561831aff35303078;hp=e4f18faf9dcf2afa596cfd3d3a19fdcda8d5d08f;hpb=696367b83abeaf9f615438cf6ea0ae250cda7e0c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Title.php b/includes/Title.php index e4f18faf9d..3891c82418 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -2065,8 +2065,8 @@ class Title implements LinkTarget, IDBAccessObject { * protocol-relative, the URL will be expanded to http:// * * @see self::getLocalURL for the arguments. - * @param string $query - * @param string|bool $query2 + * @param string|string[] $query + * @param string|bool $query2 Deprecated * @return string The URL */ public function getInternalURL( $query = '', $query2 = false ) { @@ -2088,8 +2088,8 @@ class Title implements LinkTarget, IDBAccessObject { * NOTE: Unlike getInternalURL(), the canonical URL includes the fragment * * @see self::getLocalURL for the arguments. - * @param string $query - * @param string|bool $query2 + * @param string|string[] $query + * @param string|bool $query2 Deprecated * @return string The URL * @since 1.18 */ @@ -2732,7 +2732,7 @@ class Title implements LinkTarget, IDBAccessObject { $id = $this->getArticleID(); if ( $id ) { $fname = __METHOD__; - $loadRestrictionsFromDb = function ( Database $dbr ) use ( $fname, $id ) { + $loadRestrictionsFromDb = function ( IDatabase $dbr ) use ( $fname, $id ) { return iterator_to_array( $dbr->select( 'page_restrictions',