Merge "Make WikiPage::convertSelectType protected"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 25 Jun 2018 11:21:59 +0000 (11:21 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 25 Jun 2018 11:21:59 +0000 (11:21 +0000)
includes/page/WikiPage.php

index e391df9..b970820 100644 (file)
@@ -202,7 +202,7 @@ class WikiPage implements Page, IDBAccessObject {
         * @param object|string|int $type
         * @return mixed
         */
-       private static function convertSelectType( $type ) {
+       protected static function convertSelectType( $type ) {
                switch ( $type ) {
                        case 'fromdb':
                                return self::READ_NORMAL;