Merge "maintenance: Script to rename titles for Unicode uppercasing changes"
[lhc/web/wiklou.git] / includes / api / ApiQueryUserInfo.php
index d73fbc4..ba7280d 100644 (file)
@@ -20,6 +20,7 @@
  * @file
  */
 
+use MediaWiki\Block\AbstractBlock;
 use MediaWiki\MediaWikiServices;
 
 /**
@@ -56,10 +57,10 @@ class ApiQueryUserInfo extends ApiQueryBase {
         * Get basic info about a given block
         *
         * @deprecated since 1.34 Use ApiBlockInfoTrait::getBlockDetails() instead.
-        * @param Block $block
+        * @param AbstractBlock $block
         * @return array See ApiBlockInfoTrait::getBlockDetails
         */
-       public static function getBlockInfo( Block $block ) {
+       public static function getBlockInfo( AbstractBlock $block ) {
                wfDeprecated( __METHOD__, '1.34' );
 
                // Hack to access a private method from a trait: