Move callers away from Title::GAID_FOR_UPDATE
[lhc/web/wiklou.git] / includes / api / ApiBlockInfoTrait.php
index 51da835..587a51f 100644 (file)
@@ -28,7 +28,7 @@ trait ApiBlockInfoTrait {
 
        /**
         * Get basic info about a given block
-        * @param Block $block
+        * @param AbstractBlock $block
         * @return array Array containing several keys:
         *  - blockid - ID of the block
         *  - blockedby - username of the blocker
@@ -38,7 +38,7 @@ trait ApiBlockInfoTrait {
         *  - blockexpiry - expiry time of the block
         *  - systemblocktype - system block type, if any
         */
-       private function getBlockInfo( AbstractBlock $block ) {
+       private function getBlockDetails( AbstractBlock $block ) {
                $vals = [];
                $vals['blockid'] = $block->getId();
                $vals['blockedby'] = $block->getByName();